List of String methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
Line 31: Line 31:
<tr><td valign="top">[[Left (String function)|Left]]</td><td valign="top">The left-most characters of the string</td></tr>
<tr><td valign="top">[[Left (String function)|Left]]</td><td valign="top">The left-most characters of the string</td></tr>
<tr><td valign="top">[[Length (String function)|Length]]</td><td valign="top">The length of the string</td></tr>
<tr><td valign="top">[[Length (String function)|Length]]</td><td valign="top">The length of the string</td></tr>
<tr><td valign="top">[[MD5digest (String function)|MD5digest]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[MD5digest (String function)|MD5digest]]</td><td valign="top">16-byte MD5 digest</td></tr>
<tr><td valign="top">[[MarksStoreCodeDecrement (String function)|MarksStoreCodeDecrement]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[ParseLines (String function)|ParseLines]]</td><td valign="top">Parse delimited string, creating new Stringlist</td></tr>
<tr><td valign="top">[[MarksStoreCodeIncrement (String function)|MarksStoreCodeIncrement]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[MarksStoreCodeToNumber (String function)|MarksStoreCodeToNumber]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[ParseLines (String function)|ParseLines]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[PositionIn (String function)|PositionIn]]</td><td valign="top">The numeric position of one string within another</td></tr>
<tr><td valign="top">[[PositionIn (String function)|PositionIn]]</td><td valign="top">The numeric position of one string within another</td></tr>
<tr><td valign="top">[[PositionOf (String function)|PositionOf]]</td><td valign="top">The numeric position of one string within another</td></tr>
<tr><td valign="top">[[PositionOf (String function)|PositionOf]]</td><td valign="top">The numeric position of one string within another</td></tr>
<tr><td valign="top">[[RC4decrypt (String function)|RC4decrypt]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[RC4decrypt (String function)|RC4decrypt]]</td><td valign="top">RC4 encryption or decryption</td></tr>
<tr><td valign="top">[[RC4encrypt (String function)|RC4encrypt]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[RC4encrypt (String function)|RC4encrypt]]</td><td valign="top">RC4 encryption or decryption</td></tr>
<tr><td valign="top">[[RegexMatch (String function)|RegexMatch]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[RegexMatch (String function)|RegexMatch]]</td><td valign="top">Position after match of regex</td></tr>
<tr><td valign="top">[[RegexReplace (String function)|RegexReplace]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[RegexReplace (String function)|RegexReplace]]</td><td valign="top">Replace regex matche(s)</td></tr>
<tr><td valign="top">[[RegexSplit (String function)|RegexSplit]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[RegexSplit (String function)|RegexSplit]]</td><td valign="top">Split string using regex, creating new Stringlist</td></tr>
<tr><td valign="top">[[Remove (String function)|Remove]]</td><td valign="top">Remove the occurrences of a specified substring</td></tr>
<tr><td valign="top">[[Remove (String function)|Remove]]</td><td valign="top">Remove the occurrences of a specified substring</td></tr>
<tr><td valign="top">[[Replace (String function)|Replace]]</td><td valign="top">Replace occurrences of a substring with a substitute string</td></tr>
<tr><td valign="top">[[Replace (String function)|Replace]]</td><td valign="top">Replace occurrences of a substring with a substitute string</td></tr>
<tr><td valign="top">[[Reverse (String function)|Reverse]]</td><td valign="top">Return string characters in right-to-left order</td></tr>
<tr><td valign="top">[[Reverse (String function)|Reverse]]</td><td valign="top">Return string characters in right-to-left order</td></tr>
<tr><td valign="top">[[Right (String function)|Right]]</td><td valign="top">The right-most characters of the string</td></tr>
<tr><td valign="top">[[Right (String function)|Right]]</td><td valign="top">The right-most characters of the string</td></tr>
<tr><td valign="top">[[SHAdigest (String function)|SHAdigest]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[SHAdigest (String function)|SHAdigest]]</td><td valign="top">20-byte SHA digest</td></tr>
<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">[[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>
Line 58: Line 55:
<tr><td valign="top">[[ToUpper (String function)|ToUpper]]</td><td valign="top">Return alphabetic characters as all-uppercase</td></tr>
<tr><td valign="top">[[ToUpper (String function)|ToUpper]]</td><td valign="top">Return alphabetic characters as all-uppercase</td></tr>
<tr><td valign="top">[[Translate (String function)|Translate]]</td><td valign="top">Apply a Character Map to the method object string</td></tr>
<tr><td valign="top">[[Translate (String function)|Translate]]</td><td valign="top">Apply a Character Map to the method object string</td></tr>
<tr><td valign="top">[[U (String function)|U]]</td><td valign="top"></td></tr>
<tr><td valign="top">[[U (String function)|U]]</td><td valign="top">Convert EBCDIC string to Unicode constant, including character encoding</td></tr>
<tr><td valign="top">[[Unspace (String function)|Unspace]]</td><td valign="top">Remove whitespace characters from the string</td></tr>
<tr><td valign="top">[[Unspace (String function)|Unspace]]</td><td valign="top">Remove whitespace characters from the string</td></tr>
<tr><td valign="top">[[Utf16ToUnicode (String function)|Utf16ToUnicode]]</td><td valign="top">Convert a UTF-16 Longstring bytestream to Unicode</td></tr>
<tr><td valign="top">[[Utf16ToUnicode (String function)|Utf16ToUnicode]]</td><td valign="top">Convert a UTF-16 Longstring bytestream to Unicode</td></tr>

Revision as of 23:00, 2 February 2011

The following are the available String class methods.

MethodDescription
AsciiToEbcdicConvert ASCII string to EBCDIC
Base64ToStringConvert a base 64 string to Ebcdic
BinaryToFloatConvert binary string representation of a number to floating point
BinaryToIntegerConvert a binary string to an integer
BitAndStringDo bitwise And of strings
BitOffStringClear bits in one string from another
BitOnStringSet bits in one string from another
BitOrStringDo bitwise Or of strings
BitXorStringDo bitwise exclusive Or of strings
CenterCenter the input string within a return string of a specified length
CentreCenter the input string within a return string of a specified length
CharThe value at a specified position in the input string
Deflate
EbcdicToAsciiConvert EBCDIC string to ASCII
EbcdicToUnicodeConvert EBCDIC string to Unicode
Gunzip
GunzipDatetimeNS
GunzipFilename
Gzip
HexToIntegerConvert a hexadecimal string to an integer
HexToStringConvert a hexadecimal string to Ebcdic
Inflate
InsertInsert argument string inside the method object string
IsOneOfIs the method object string matched by any of the strings in the input list?
LeftThe left-most characters of the string
LengthThe length of the string
MD5digest16-byte MD5 digest
ParseLinesParse delimited string, creating new Stringlist
PositionInThe numeric position of one string within another
PositionOfThe numeric position of one string within another
RC4decryptRC4 encryption or decryption
RC4encryptRC4 encryption or decryption
RegexMatchPosition after match of regex
RegexReplaceReplace regex matche(s)
RegexSplitSplit string using regex, creating new Stringlist
RemoveRemove the occurrences of a specified substring
ReplaceReplace occurrences of a substring with a substitute string
ReverseReturn string characters in right-to-left order
RightThe right-most characters of the string
SHAdigest20-byte SHA digest
StringToBase64Convert an Ebcdic string to base 64
StringToDaysConvert string date/time to days since 1900
StringToHexConvert an Ebcdic string to hexadecimal
StringToMillisecondsConvert string date/time to milliseconds since 1900
StringToSecondsConvert string date/time to seconds since 1900
SubstringReturn a substring of the method object string
ToLowerReturn alphabetic characters as all-lowercase
ToStringConvert string to a string
ToUpperReturn alphabetic characters as all-uppercase
TranslateApply a Character Map to the method object string
UConvert EBCDIC string to Unicode constant, including character encoding
UnspaceRemove whitespace characters from the string
Utf16ToUnicodeConvert a UTF-16 Longstring bytestream to Unicode
Utf8ToUnicodeConvert a UTF-8 Longstring bytestream to Unicode
XHex constant method
Zip
stringTokenizerCreate a tokenizer using the method object string

See also