StringUtilities

Utility-class revolving around Strings.

Author

Griefed

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun buildString(vararg args: String): <Error class: unknown class>

Converts a sequence of Strings, for example from a list, into a concatenated String.

fun buildString(strings: List<String>): <Error class: unknown class>

Converts a list of Strings, for example from a list, into a concatenated String.

Link copied to clipboard

Check the passed string whether it contains any of the following characters:

Link copied to clipboard

Check the passed string whether it contains characters invalid in a path-declaration:

Link copied to clipboard

Remove commonly forbidden characters from the passed string, making the resulting String safe to use for files, paths, directories etc. If the passed text ends with a SPACE(&#32;&#32;) or a DOT(&#32;.&#32;), they are also removed.

Link copied to clipboard

Remove commonly forbidden characters from the passed string, making the resulting String safe to use for files, paths, directories etc. If the passed text ends with a SPACE(&#32;&#32;) or a DOT(&#32;.&#32;), they are also removed.