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 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
{{Template:Method_list_header|class=String}}
The following are the available String class methods.
 
{{Template:Method list header|class=String}}
, and:
, and:
*[[List of Float methods]]
*[[List of Float methods]]
Line 7: Line 9:
<table class="wikitable">
<table class="wikitable">
<tr><th>Method</th><th>Description</th></tr>
<tr><th>Method</th><th>Description</th></tr>
<tr><td>[[AsciiToEbcdic (String function)|AsciiToEbcdic]]</td><td>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>[[Base64ToString (String function)|Base64ToString]]</td><td>Convert a base 64 string to Ebcdic</td></tr>
<tr><td valign="top">[[Base64ToString (String function)|Base64ToString]]</td><td valign="top">Convert a base 64 string to Ebcdic</td></tr>
<tr><td>[[BinaryToFloat (String function)|BinaryToFloat]]</td><td>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>[[BinaryToInteger (String function)|BinaryToInteger]]</td><td>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>
<tr><td>[[BitAndString (String function)|BitAndString]]</td><td>Do bitwise And of strings</td></tr>
<tr><td valign="top">[[BitAndString (String function)|BitAndString]]</td><td valign="top">Do bitwise And of strings</td></tr>
<tr><td>[[BitOffString (String function)|BitOffString]]</td><td>Clear bits in one string from another</td></tr>
<tr><td valign="top">[[BitOffString (String function)|BitOffString]]</td><td valign="top">Clear bits in one string from another</td></tr>
<tr><td>[[BitOnString (String function)|BitOnString]]</td><td>Set bits in one string from another</td></tr>
<tr><td valign="top">[[BitOnString (String function)|BitOnString]]</td><td valign="top">Set bits in one string from another</td></tr>
<tr><td>[[BitOrString (String function)|BitOrString]]</td><td>Do bitwise Or of strings</td></tr>
<tr><td valign="top">[[BitOrString (String function)|BitOrString]]</td><td valign="top">Do bitwise Or of strings</td></tr>
<tr><td>[[BitXorString (String function)|BitXorString]]</td><td>Do bitwise exclusive Or of strings</td></tr>
<tr><td valign="top">[[BitXorString (String function)|BitXorString]]</td><td valign="top">Do bitwise exclusive Or of strings</td></tr>
<tr><td>[[Center (String function)|Center]]</td><td>Convert a binary representation of a number to integer</td></tr>
<tr><td valign="top">[[Center (String function)|Center]]</td><td valign="top">Convert a binary representation of a number to integer</td></tr>
<tr><td>[[Centre (String function)|Centre]]</td><td>Center the input string within a return string of a specified length</td></tr>
<tr><td valign="top">[[Centre (String function)|Centre]]</td><td valign="top">Center the input string within a return string of a specified length</td></tr>
<tr><td>[[Char (String function)|Char]]</td><td>The value at a specified position in the input string</td></tr>
<tr><td valign="top">[[Char (String function)|Char]]</td><td valign="top">The value at a specified position in the input string</td></tr>
<tr><td>[[Deflate (String function)|Deflate]]</td><td></td></tr>
<tr><td valign="top">[[Deflate (String function)|Deflate]]</td><td valign="top"></td></tr>
<tr><td>[[EbcdicToAscii (String function)|EbcdicToAscii]]</td><td>Convert EBCDIC string to ASCII</td></tr>
<tr><td valign="top">[[EbcdicToAscii (String function)|EbcdicToAscii]]</td><td valign="top">Convert EBCDIC string to ASCII</td></tr>
<tr><td>[[EbcdicToUnicode (String function)|EbcdicToUnicode]]</td><td>Convert EBCDIC string to Unicode</td></tr>
<tr><td valign="top">[[EbcdicToUnicode (String function)|EbcdicToUnicode]]</td><td valign="top">Convert EBCDIC string to Unicode</td></tr>
<tr><td>[[GetCharacterPairValue (String function)|GetCharacterPairValue]]</td><td></td></tr>
<tr><td valign="top">[[Gunzip (String function)|Gunzip]]</td><td valign="top"></td></tr>
<tr><td>[[GetCharacterValue (String function)|GetCharacterValue]]</td><td></td></tr>
<tr><td valign="top">[[GunzipDatetimeNS (String function)|GunzipDatetimeNS]]</td><td valign="top"></td></tr>
<tr><td>[[Gunzip (String function)|Gunzip]]</td><td></td></tr>
<tr><td valign="top">[[GunzipFilename (String function)|GunzipFilename]]</td><td valign="top"></td></tr>
<tr><td>[[GunzipDatetimeNS (String function)|GunzipDatetimeNS]]</td><td></td></tr>
<tr><td valign="top">[[Gzip (String function)|Gzip]]</td><td valign="top"></td></tr>
<tr><td>[[GunzipFilename (String function)|GunzipFilename]]</td><td></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>[[Gzip (String function)|Gzip]]</td><td></td></tr>
<tr><td valign="top">[[HexToString (String function)|HexToString]]</td><td valign="top">Convert a hexadecimal string to Ebcdic</td></tr>
<tr><td>[[HexToInteger (String function)|HexToInteger]]</td><td>Convert a hexadecimal string to an integer</td></tr>
<tr><td valign="top">[[Inflate (String function)|Inflate]]</td><td valign="top"></td></tr>
<tr><td>[[HexToString (String function)|HexToString]]</td><td>Convert a hexadecimal string to Ebcdic</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>[[Inflate (String function)|Inflate]]</td><td></td></tr>
<tr><td valign="top">[[IsOneOf (String function)|IsOneOf]]</td><td valign="top">Is the method object string matched by any of the strings in the input list?</td></tr>
<tr><td>[[Insert (String function)|Insert]]</td><td>Insert argument string inside the method object 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>[[IsOneOf (String function)|IsOneOf]]</td><td>Is the method object string matched by any of the strings in the input list?</td></tr>
<tr><td valign="top">[[Length (String function)|Length]]</td><td valign="top">The length of the string</td></tr>
<tr><td>[[Left (String function)|Left]]</td><td>The left-most characters of the string</td></tr>
<tr><td valign="top">[[MD5digest (String function)|MD5digest]]</td><td valign="top"></td></tr>
<tr><td>[[Length (String function)|Length]]</td><td>The length of the string</td></tr>
<tr><td valign="top">[[MarksStoreCodeDecrement (String function)|MarksStoreCodeDecrement]]</td><td valign="top"></td></tr>
<tr><td>[[MD5digest (String function)|MD5digest]]</td><td></td></tr>
<tr><td valign="top">[[MarksStoreCodeIncrement (String function)|MarksStoreCodeIncrement]]</td><td valign="top"></td></tr>
<tr><td>[[MarksStoreCodeDecrement (String function)|MarksStoreCodeDecrement]]</td><td></td></tr>
<tr><td valign="top">[[MarksStoreCodeToNumber (String function)|MarksStoreCodeToNumber]]</td><td valign="top"></td></tr>
<tr><td>[[MarksStoreCodeIncrement (String function)|MarksStoreCodeIncrement]]</td><td></td></tr>
<tr><td valign="top">[[ParseLines (String function)|ParseLines]]</td><td valign="top"></td></tr>
<tr><td>[[MarksStoreCodeToNumber (String function)|MarksStoreCodeToNumber]]</td><td></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>[[ParseLines (String function)|ParseLines]]</td><td></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>[[PositionIn (String function)|PositionIn]]</td><td>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>[[PositionOf (String function)|PositionOf]]</td><td>The numeric position of one string within another</td></tr>
<tr><td valign="top">[[RC4encrypt (String function)|RC4encrypt]]</td><td valign="top"></td></tr>
<tr><td>[[RC4decrypt (String function)|RC4decrypt]]</td><td></td></tr>
<tr><td valign="top">[[RegexMatch (String function)|RegexMatch]]</td><td valign="top"></td></tr>
<tr><td>[[RC4encrypt (String function)|RC4encrypt]]</td><td></td></tr>
<tr><td valign="top">[[RegexReplace (String function)|RegexReplace]]</td><td valign="top"></td></tr>
<tr><td>[[RegexMatch (String function)|RegexMatch]]</td><td></td></tr>
<tr><td valign="top">[[RegexSplit (String function)|RegexSplit]]</td><td valign="top"></td></tr>
<tr><td>[[RegexReplace (String function)|RegexReplace]]</td><td></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>[[RegexSplit (String function)|RegexSplit]]</td><td></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>[[Remove (String function)|Remove]]</td><td>Remove the occurrences of a specified substring</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>[[Replace (String function)|Replace]]</td><td>Replace occurrences of a substring with a substitute 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>[[Reverse (String function)|Reverse]]</td><td>Return string characters in right-to-left order</td></tr>
<tr><td valign="top">[[SHAdigest (String function)|SHAdigest]]</td><td valign="top"></td></tr>
<tr><td>[[Right (String function)|Right]]</td><td>The right-most characters of the string</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>[[SHAdigest (String function)|SHAdigest]]</td><td></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>[[StringToBase64 (String function)|StringToBase64]]</td><td>Convert an Ebcdic string to base 64</td></tr>
<tr><td valign="top">[[StringToHex (String function)|StringToHex]]</td><td valign="top">Convert an Ebcdic string to hexadecimal</td></tr>
<tr><td>[[StringToDays (String function)|StringToDays]]</td><td>Convert string date/time to days 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>[[StringToHex (String function)|StringToHex]]</td><td>Convert an Ebcdic string to hexadecimal</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>[[StringToMilliseconds (String function)|StringToMilliseconds]]</td><td>Convert string date/time to milliseconds since 1900</td></tr>
<tr><td valign="top">[[Substring (String function)|Substring]]</td><td valign="top">Return a substring of the method object string</td></tr>
<tr><td>[[StringToSeconds (String function)|StringToSeconds]]</td><td>Convert string date/time to seconds since 1900</td></tr>
<tr><td valign="top">[[ToLower (String function)|ToLower]]</td><td valign="top">Return alphabetic characters as all-lowercase</td></tr>
<tr><td>[[Substring (String function)|Substring]]</td><td>Return a substring of the method object string</td></tr>
<tr><td valign="top">[[ToString (String function)|ToString]]</td><td valign="top">Convert string to a string</td></tr>
<tr><td>[[ToLower (String function)|ToLower]]</td><td>Return alphabetic characters as all-lowercase</td></tr>
<tr><td valign="top">[[ToUpper (String function)|ToUpper]]</td><td valign="top">Return alphabetic characters as all-uppercase</td></tr>
<tr><td>[[ToString (String function)|ToString]]</td><td>Convert string to a 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>[[ToUpper (String function)|ToUpper]]</td><td>Return alphabetic characters as all-uppercase</td></tr>
<tr><td valign="top">[[U (String function)|U]]</td><td valign="top"></td></tr>
<tr><td>[[Translate (String function)|Translate]]</td><td>Apply a Character Map to the method object 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>[[U (String function)|U]]</td><td></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>[[Unspace (String function)|Unspace]]</td><td>Remove whitespace characters from the string</td></tr>
<tr><td valign="top">[[Utf8ToUnicode (String function)|Utf8ToUnicode]]</td><td valign="top">Convert a UTF-8 Longstring bytestream to Unicode</td></tr>
<tr><td>[[Utf16ToUnicode (String function)|Utf16ToUnicode]]</td><td>Convert a UTF-16 Longstring bytestream to Unicode</td></tr>
<tr><td valign="top">[[X (String function)|X]]</td><td valign="top">Hex constant method</td></tr>
<tr><td>[[Utf8ToUnicode (String function)|Utf8ToUnicode]]</td><td>Convert a UTF-8 Longstring bytestream to Unicode</td></tr>
<tr><td valign="top">[[Zip (String function)|Zip]]</td><td valign="top"></td></tr>
<tr><td>[[X (String function)|X]]</td><td>Hex constant method</td></tr>
<tr><td valign="top">[[stringTokenizer (String function)|stringTokenizer]]</td><td valign="top">Create a tokenizer using the method object string</td></tr>
<tr><td>[[Zip (String function)|Zip]]</td><td></td></tr>
<tr><td>[[stringTokenizer (String function)|stringTokenizer]]</td><td>Create a tokenizer using the method object string</td></tr>
</table>
</table>

Revision as of 15:34, 24 January 2011

The following are the available String class methods.


, and:

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
CenterConvert a binary representation of a number to integer
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
MD5digest
MarksStoreCodeDecrement
MarksStoreCodeIncrement
MarksStoreCodeToNumber
ParseLines
PositionInThe numeric position of one string within another
PositionOfThe numeric position of one string within another
RC4decrypt
RC4encrypt
RegexMatch
RegexReplace
RegexSplit
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
SHAdigest
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
U
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