List of String methods
The following are the available String class methods.
Method | Description |
---|---|
AsciiToEbcdic | Convert ASCII string to EBCDIC |
Base64ToString | Convert a base 64 string to Ebcdic |
BinaryToFloat | Convert binary string representation of a number to floating point |
BinaryToInteger | Convert a binary string to an integer |
BitAndString | Do bitwise And of strings |
BitOffString | Clear bits in one string from another |
BitOnString | Set bits in one string from another |
BitOrString | Do bitwise Or of strings |
BitXorString | Do bitwise exclusive Or of strings |
Center | Center the input string within a return string of a specified length |
Centre | Center the input string within a return string of a specified length |
Char | The value at a specified position in the input string |
Deflate | |
EbcdicToAscii | Convert EBCDIC string to ASCII |
EbcdicToUnicode | Convert EBCDIC string to Unicode |
Gunzip | |
GunzipDatetimeNS | |
GunzipFilename | |
Gzip | |
HexToInteger | Convert a hexadecimal string to an integer |
HexToString | Convert a hexadecimal string to Ebcdic |
Inflate | |
Insert | Insert argument string inside the method object string |
IsOneOf | Is the method object string matched by any of the strings in the input list? |
Left | The left-most characters of the string |
Length | The length of the string |
MD5digest | 16-byte MD5 digest |
ParseLines | Parse delimited string, creating new Stringlist |
PositionIn | The numeric position of one string within another |
PositionOf | The numeric position of one string within another |
RC4decrypt | RC4 encryption or decryption |
RC4encrypt | RC4 encryption or decryption |
RegexMatch | Position after match of regex |
RegexReplace | Replace regex matche(s) |
RegexSplit | Split string using regex, creating new Stringlist |
Remove | Remove the occurrences of a specified substring |
Replace | Replace occurrences of a substring with a substitute string |
Reverse | Return string characters in right-to-left order |
Right | The right-most characters of the string |
SHAdigest | 20-byte SHA digest |
StringToBase64 | Convert an Ebcdic string to base 64 |
StringToDays | Convert string date/time to days since 1900 |
StringToHex | Convert an Ebcdic string to hexadecimal |
StringToMilliseconds | Convert string date/time to milliseconds since 1900 |
StringToSeconds | Convert string date/time to seconds since 1900 |
Substring | Return a substring of the method object string |
ToLower | Return alphabetic characters as all-lowercase |
ToString | Convert string to a string |
ToUpper | Return alphabetic characters as all-uppercase |
Translate | Apply a Character Map to the method object string |
U | Convert EBCDIC string to Unicode constant, including character encoding |
Unspace | Remove whitespace characters from the string |
Utf16ToUnicode | Convert a UTF-16 Longstring bytestream to Unicode |
Utf8ToUnicode | Convert a UTF-8 Longstring bytestream to Unicode |
X | Hex constant method |
Zip | |
stringTokenizer | Create a tokenizer using the method object string |