String methods syntax
The syntax for each of the String class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of String methods.
%outString = string:AsciiToEbcdic[( [CharacterEncode= boolean])]
%outString = string:Base64ToString
%number = string:BinaryToFloat
%number = string:BinaryToInteger[( [Signed= boolean])]
%result = string:BitAndString( andBits, [Pad= c])
%result = string:BitOffString( offBits, [Pad= c])
%result = string:BitOnString( onBits, [Pad= c])
%result = string:BitOrString( orBits, [Pad= c])
%result = string:BitXorString( xorBits, [Pad= c])
%outString = string:Center( length, [Pad= c], [OffsetLeft= boolean])
%outString = string:Centre( length, [Pad= c], [OffsetLeft= boolean])
%outString = string:Char( position)
%outString = string:Deflate[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number])]
%outString = string:EbcdicToAscii[( [CharacterDecode= boolean])]
%unicode = string:EbcdicToUnicode[( [CharacterDecode= boolean], - [Untranslatable= unicode])]
%outString = string:Gunzip
%number = string:GunzipDatetimeNS
%outString = string:GunzipFilename
%outString = string:Gzip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]
%number = string:HexToInteger[( [Signed= boolean])]
%outString = string:HexToString
%outString = string:Inflate
%outString = string:Insert( string, position)
%boolean = string:IsOneOf( list)
%outString = string:Left( length, [Pad= c])
%length = string:Length
%outString = string:MD5digest
%outString = string:MarksStoreCodeDecrement
%outString = string:MarksStoreCodeIncrement
%number = string:MarksStoreCodeToNumber
%sl = string:ParseLines[( [string], [StripTrailingNull= boolean])]
%position = string:PositionIn( string, [Start= number])
%position = string:PositionOf( string, [Start= number])
%outString = string:RC4decrypt( string)
%outString = string:RC4encrypt( string)
%number = string:RegexMatch( string, [Options= string], - [CaptureList= stringlist])
%outString = string:RegexReplace( string, string, [Options= string])
%sl = string:RegexSplit( string, [Options= string], - [Add= regexSplitOutputOptions])
%outString = string:Remove( string, [Count= number])
%outString = string:Replace( string, string, [Count= number])
%outString = string:Reverse
%outString = string:Right( length, [Pad= c])
%outString = string:SHAdigest
%outString = string:StringToBase64
%days = string:StringToDays( string, [centSpan])
%outString = string:StringToHex
%milliseconds = string:StringToMilliseconds( string, [centSpan])
%seconds = string:StringToSeconds( string, [centSpan])
%outString = string:Substring( position, [length], [Pad= c])
%outString = string:ToLower
%outString = string:ToString
%outString = string:ToUpper
%outString = string:Translate( characterMap)
%unicode = string:U
%outString = string:Unspace[( [Spaces= string], [Leading= boolean], - [Trailing= boolean], [Compress= boolean])]
%unicode = string:Utf16ToUnicode[( [AllowUntranslatable= boolean], - [Bom= utf16BOM])]
%unicode = string:Utf8ToUnicode[( [AllowUntranslatable= boolean])]
%outString = string:X
%outString = string:Zip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]
%stringTokenizer = string:stringTokenizer[( [TokenChars= string], - [Spaces= string], - [Quotes= string], - [Separators= string])]