Edits given texts
This is used to revise the respective strings and to get them in the desired format.
|
inlinestatic |
Convert a string to uppercase.
[in,out] | str | String to convert |
Example:
|
inlinestatic |
Convert a 16bit wide string to uppercase.
[in,out] | str | String to convert |
|
inlinestatic |
Convert a string to lowercase.
[in,out] | str | String to convert |
Example:
|
inlinestatic |
Convert a 16bit wide string to lowercase.
[in,out] | str | String to convert |
|
inlinestatic |
Combine all numerical digits and give it as integer value.
[in,out] | str | String to check for digits |
|
inlinestatic |
Returns a string from start with givent count.
[in] | str | String to use |
[in] | count | Amount of characters to go from left |
Example:
|
inlinestatic |
Get substring from mid of given string.
[in] | str | String to get substring from |
[in] | first | Position from where to start |
[in] | count | [opt] length of position to get after start, default is complete to end |
Example:
|
inlinestatic |
Returns a string from end with givent count.
[in] | str | String to use |
[in] | count | Amount of characters to go from right |
Example:
|
inlinestatic |
Trim a string with remove of not wanted spaces at begin and end of string.
[in,out] | str | String to trim, becomes also changed and given on return |
Example:
|
inlinestatic |
Trim a string with remove of not wanted characters at begin and end of string.
[in,out] | str | String to trim, becomes also changed and given on return |
[in] | chars | Characters to use for trim |
|
inlinestatic |
Trim a string with remove of not wanted spaces at begin of string.
[in,out] | str | String to trim, becomes also changed and given on return |
Example:
|
inlinestatic |
Trim a string with remove of not wanted characters at begin of string.
[in,out] | str | String to trim, becomes also changed and given on return |
[in] | chars | Characters to use for trim |
|
inlinestatic |
Trim a string with remove of not wanted spaces at end of string.
[in,out] | str | String to trim, becomes also changed and given on return |
Example:
|
inlinestatic |
Trim a string with remove of not wanted characters at end of string.
[in,out] | str | String to trim, becomes also changed and given on return |
[in] | chars | Characters to use for trim |
|
inlinestatic |
Cleanup string by remove of duplicates of spaces and tabs.
[in,out] | str | String to remove duplicates, becomes also changed and given further on return |
|
inlinestatic |
Replace a character with another inside text string.
[in] | str | String to replace within |
[in] | oldChar | Character to search for replacement |
[in] | newChar | New character to use for replacement |
Example:
|
inlinestatic |
Replace a complete text with another inside text string.
[in] | str | String to replace within |
[in] | oldStr | String to search for replacement |
[in] | newStr | New string to use for replacement |
Example:
|
inlinestatic |
Replace a complete text with another inside 16bit wide text string.
[in] | str | String to replace within |
[in] | oldStr | String to search for replacement |
[in] | newStr | New string to use for replacement |
|
inlinestatic |
Transform characters to create a safe URL.
[in] | str | The string to transform |
Safe URLs are composed of the unreserved characters defined in RFC 3986 section 2.3:
ALPHA / DIGIT / "-" / "." / "_" / "~"
Characters outside of this set will be replaced by "_".
|
inlinestatic |
Transform characters to create a safe, printable string.
[in] | str | The string to transform |
Unsafe characters are defined as the non-printable ASCII characters (character code 0-31).
|
inlinestatic |
Removes a MAC address from a given string.
[in] | str | The string containing a MAC address |
|
inlinestatic |
Remove carriage return and line feeds on string ends.
[in,out] | str | String where CR and LF becomes removed on end |
Example:
|
inlinestatic |
Convert a word to a digit numerical string.
[in] | str | String to convert |
Example:
|
inlinestatic |
Escapes the given string to be able to be used as a parameter.
Escapes backslashes and double-quotes with an additional backslash and adds double-quotes around the whole string.
[in] | param | String to escape/paramify |
Example: