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 20: Line 20:
<tr><td valign="top">[[CharacterToUnicode (String function)|CharacterToUnicode]]</td><td valign="top">Translate characters to unicode</td></tr>
<tr><td valign="top">[[CharacterToUnicode (String function)|CharacterToUnicode]]</td><td valign="top">Translate characters to unicode</td></tr>
<tr><td valign="top">[[Deflate (String function)|Deflate]]</td><td valign="top">Compress a longstring with deflate</td></tr>
<tr><td valign="top">[[Deflate (String function)|Deflate]]</td><td valign="top">Compress a longstring with deflate</td></tr>
<tr><td valign="top">[[DerToXmlDoc (String function)|DerToXmlDoc]]</td><td valign="top">Convert DER encoded data to XML</td></tr>
<tr><td valign="top">[[EbcdicToAscii (String function)|EbcdicToAscii]]</td><td valign="top">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 valign="top">[[EbcdicToUnicode (String function)|EbcdicToUnicode]]</td><td valign="top">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>
Line 44: Line 45:
<tr><td valign="top">[[RC4decrypt (String function)|RC4decrypt]]</td><td valign="top">RC4 encryption or decryption</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">RC4 encryption or decryption</td></tr>
<tr><td valign="top">[[RC4encrypt (String function)|RC4encrypt]]</td><td valign="top">RC4 encryption or decryption</td></tr>
<tr><td valign="top">[[RSAPrivateKeyToXmlDoc (String function)|RSAPrivateKeyToXmlDoc]]</td><td valign="top">Convert BER encoded RSA private key to XML</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">[[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">Replace regex matche(s)</td></tr>
<tr><td valign="top">[[RegexReplace (String function)|RegexReplace]]</td><td valign="top">Replace regex matche(s)</td></tr>
Line 78: Line 80:
<tr><td valign="top">[[Words (String function)|Words]]</td><td valign="top">Sublist of list of words</td></tr>
<tr><td valign="top">[[Words (String function)|Words]]</td><td valign="top">Sublist of list of words</td></tr>
<tr><td valign="top">[[X (String function)|X]]</td><td valign="top">Hex constant method</td></tr>
<tr><td valign="top">[[X (String function)|X]]</td><td valign="top">Hex constant method</td></tr>
<tr><td valign="top">[[X509CertificateToXmlDoc (String function)|X509CertificateToXmlDoc]]</td><td valign="top">Convert BER encoded X.509 certificate to XML</td></tr>
<tr><td valign="top">[[X509CrlToXmlDoc (String function)|X509CrlToXmlDoc]]</td><td valign="top">Convert BER encoded X.509 CRL to XML</td></tr>
<tr><td valign="top">[[Zip (String function)|Zip]]</td><td valign="top">Compress a longstring with ZIP</td></tr>
<tr><td valign="top">[[Zip (String function)|Zip]]</td><td valign="top">Compress a longstring with ZIP</td></tr>
</table>
</table>

Revision as of 21:36, 2 April 2012

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
CharacterToUnicodeTranslate characters to unicode
DeflateCompress a longstring with deflate
DerToXmlDocConvert DER encoded data to XML
EbcdicToAsciiConvert EBCDIC string to ASCII
EbcdicToUnicodeConvert EBCDIC string to Unicode
FormUrlDecodeUnicodeConvert Form URL encoded UTF-8 string to Unicode
GunzipDecompress a longstring with GUNZIP
GunzipDatetimeNSReturn create date of GZIP format longstring
GunzipFilenameReturn name of GZIP format longstring
GzipCompress a longstring with GZIP
HexToIntegerConvert a hexadecimal string to an integer
HexToStringConvert a hexadecimal string to Ebcdic
InflateDecompress a longstring with inflate
InsertInsert argument string inside the method object string
IsOneOfIs the method object string matched by any of the strings in the input list?
IsStartOfIs the method object string an initial substring of the argument string?
LeftThe left-most characters of the string
LengthThe length of the string
MD5digest16-byte MD5 digest
MarksStoreCodeDecrement
MarksStoreCodeIncrement
MarksStoreCodeToNumber
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
RSAPrivateKeyToXmlDocConvert BER encoded RSA private key to XML
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
StartsWithIs the argument string an initial substring of the method object string?
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
StringTokenizerCreate a tokenizer using the method object string
SubstringReturn a substring of the method object string
TimeStringConvertConvert date/time string from one format to another
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
TrimLeftTrim bytes from left of string
TrimRightTrim bytes from right of string
UConvert EBCDIC string to Unicode constant, including character encoding
UnspaceRemove whitespace characters from the string
UrlDecodeUnicodeConvert URL encoded UTF-8 string to Unicode
Utf16ToUnicodeConvert a UTF-16 Longstring bytestream to Unicode
Utf8ToUnicodeConvert a UTF-8 Longstring bytestream to Unicode
WordSelect word from list of words
WordCountCount words in list
WordNumberInWord number of method object needle within argment list of words
WordNumberOfWord number of argument needle within method object list of words
WordsSublist of list of words
XHex constant method
X509CertificateToXmlDocConvert BER encoded X.509 certificate to XML
X509CrlToXmlDocConvert BER encoded X.509 CRL to XML
ZipCompress a longstring with ZIP

See also