List of String methods: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Automatically generated page update) |
||
Line 7: | Line 7: | ||
<tr><th>Method</th><th>Description</th></tr> | <tr><th>Method</th><th>Description</th></tr> | ||
<tr><td valign="top">[[AsciiToEbcdic (String function)|AsciiToEbcdic]]</td><td valign="top">Convert ASCII string to EBCDIC</td></tr> | <tr><td valign="top">[[AsciiToEbcdic (String function)|AsciiToEbcdic]]</td><td valign="top">Convert ASCII string to EBCDIC</td></tr> | ||
<tr><td valign="top">[[Base64ToString (String function)|Base64ToString]]</td><td valign="top">Convert a | <tr><td valign="top">[[Base64ToString (String function)|Base64ToString]]</td><td valign="top">Convert a base 64 string to Ebcdic</td></tr> | ||
<tr><td valign="top">[[BinaryToFloat (String function)|BinaryToFloat]]</td><td valign="top">Convert binary string representation of a number to floating point</td></tr> | <tr><td valign="top">[[BinaryToFloat (String function)|BinaryToFloat]]</td><td valign="top">Convert binary string representation of a number to floating point</td></tr> | ||
<tr><td valign="top">[[BinaryToInteger (String function)|BinaryToInteger]]</td><td valign="top">Convert a binary string to an integer</td></tr> | <tr><td valign="top">[[BinaryToInteger (String function)|BinaryToInteger]]</td><td valign="top">Convert a binary string to an integer</td></tr> | ||
Line 29: | Line 29: | ||
<tr><td valign="top">[[Gzip (String function)|Gzip]]</td><td valign="top">Compress a longstring with GZIP</td></tr> | <tr><td valign="top">[[Gzip (String function)|Gzip]]</td><td valign="top">Compress a longstring with GZIP</td></tr> | ||
<tr><td valign="top">[[HexToInteger (String function)|HexToInteger]]</td><td valign="top">Convert a hexadecimal string to an integer</td></tr> | <tr><td valign="top">[[HexToInteger (String function)|HexToInteger]]</td><td valign="top">Convert a hexadecimal string to an integer</td></tr> | ||
<tr><td valign="top">[[HexToString (String function)|HexToString]]</td><td valign="top">Convert a hexadecimal string to | <tr><td valign="top">[[HexToString (String function)|HexToString]]</td><td valign="top">Convert a hexadecimal string to Ebcdic</td></tr> | ||
<tr><td valign="top">[[Inflate (String function)|Inflate]]</td><td valign="top">Decompress a longstring with inflate</td></tr> | <tr><td valign="top">[[Inflate (String function)|Inflate]]</td><td valign="top">Decompress a longstring with inflate</td></tr> | ||
<tr><td valign="top">[[Insert (String function)|Insert]]</td><td valign="top">Insert argument string inside the method object string</td></tr> | <tr><td valign="top">[[Insert (String function)|Insert]]</td><td valign="top">Insert argument string inside the method object string</td></tr> | ||
Line 55: | Line 55: | ||
<tr><td valign="top">[[SHAdigest (String function)|SHAdigest]]</td><td valign="top">20-byte SHA digest</td></tr> | <tr><td valign="top">[[SHAdigest (String function)|SHAdigest]]</td><td valign="top">20-byte SHA digest</td></tr> | ||
<tr><td valign="top">[[StartsWith (String function)|StartsWith]]</td><td valign="top">Is the argument string an initial substring of the method object string?</td></tr> | <tr><td valign="top">[[StartsWith (String function)|StartsWith]]</td><td valign="top">Is the argument string an initial substring of the method object string?</td></tr> | ||
<tr><td valign="top">[[StringToBase64 (String function)|StringToBase64]]</td><td valign="top">Convert an | <tr><td valign="top">[[StringToBase64 (String function)|StringToBase64]]</td><td valign="top">Convert an Ebcdic string to base 64</td></tr> | ||
<tr><td valign="top">[[StringToDays (String function)|StringToDays]]</td><td valign="top">Convert string date/time to days since 1900</td></tr> | <tr><td valign="top">[[StringToDays (String function)|StringToDays]]</td><td valign="top">Convert string date/time to days since 1900</td></tr> | ||
<tr><td valign="top">[[StringToHex (String function)|StringToHex]]</td><td valign="top">Convert an | <tr><td valign="top">[[StringToHex (String function)|StringToHex]]</td><td valign="top">Convert an Ebcdic string to hexadecimal</td></tr> | ||
<tr><td valign="top">[[StringToMilliseconds (String function)|StringToMilliseconds]]</td><td valign="top">Convert string date/time to milliseconds since 1900</td></tr> | <tr><td valign="top">[[StringToMilliseconds (String function)|StringToMilliseconds]]</td><td valign="top">Convert string date/time to milliseconds since 1900</td></tr> | ||
<tr><td valign="top">[[StringToSeconds (String function)|StringToSeconds]]</td><td valign="top">Convert string date/time to seconds since 1900</td></tr> | <tr><td valign="top">[[StringToSeconds (String function)|StringToSeconds]]</td><td valign="top">Convert string date/time to seconds since 1900</td></tr> |
Revision as of 22:31, 28 July 2012
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 |
CharacterToUnicode | Translate characters to unicode |
Deflate | Compress a longstring with deflate |
DerToXmlDoc | Convert DER encoded data to XML |
EbcdicToAscii | Convert EBCDIC string to ASCII |
EbcdicToUnicode | Convert EBCDIC string to Unicode |
FormUrlDecodeUnicode | Convert Form URL encoded UTF-8 string to Unicode |
Gunzip | Decompress a longstring with GUNZIP |
GunzipDatetimeNS | Return create date of GZIP format longstring |
GunzipFilename | Return name of GZIP format longstring |
Gzip | Compress a longstring with GZIP |
HexToInteger | Convert a hexadecimal string to an integer |
HexToString | Convert a hexadecimal string to Ebcdic |
Inflate | Decompress a longstring with 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? |
IsStartOf | Is the method object string an initial substring of the argument string? |
Left | The left-most characters of the string |
Length | The length of the string |
MD5digest | 16-byte MD5 digest |
MarksStoreCodeDecrement | |
MarksStoreCodeIncrement | |
MarksStoreCodeToNumber | |
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 |
RSAPrivateKeyToXmlDoc | Convert BER encoded RSA private key to XML |
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 |
StartsWith | Is the argument string an initial substring of the method object string? |
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 |
StringTokenizer | Create a tokenizer using the method object string |
Substring | Return a substring of the method object string |
TimeStringConvert | Convert date/time string from one format to another |
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 |
TrimLeft | Trim bytes from left of string |
TrimRight | Trim bytes from right of string |
U | Convert EBCDIC string to Unicode constant, including character encoding |
Unspace | Remove whitespace characters from the string |
UrlDecodeUnicode | Convert URL encoded UTF-8 string to Unicode |
Utf16ToUnicode | Convert a UTF-16 Longstring bytestream to Unicode |
Utf8ToUnicode | Convert a UTF-8 Longstring bytestream to Unicode |
Word | Select word from list of words |
WordCount | Count words in list |
WordNumberIn | Word number of method object needle within argment list of words |
WordNumberOf | Word number of argument needle within method object list of words |
Words | Sublist of list of words |
X | Hex constant method |
X509CertificateToXmlDoc | Convert BER encoded X.509 certificate to XML |
X509CrlToXmlDoc | Convert BER encoded X.509 CRL to XML |
Zip | Compress a longstring with ZIP |