Unicode methods syntax

From m204wiki
Revision as of 12:28, 7 February 2011 by Wiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

The syntax for each of the Unicode 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 Unicode methods.

%outUnicode = unicode:UnicodeChar( position)

%outUnicode = unicode:UnicodeLeft( number, [Pad= c])

%number = unicode:UnicodeLength

%number = unicode:UnicodePositionIn( string, [Start= number])

%number = unicode:UnicodePositionOf( string, [Start= number])

%number = unicode:UnicodeRegexMatch( regex, [Options= string], - [CaptureList= stringlist])

%outUnicode = unicode:UnicodeRegexReplace( regex, replacement, - [Options= string])

%outUnicode = unicode:UnicodeReplace

%outUnicode = unicode:UnicodeRight( number, [Pad= c])

%outUnicode = unicode:UnicodeSubstring( number, [number], [Pad= c])

%string = unicode:UnicodeToEbcdic[( [CharacterEncode= boolean])]

%outUnicode = unicode:UnicodeToLower

%outUnicode = unicode:UnicodeToUpper

%string = unicode:UnicodeToUtf16[( [InsertBOM= boolean])]

%string = unicode:UnicodeToUtf8[( [InsertBOM= boolean])]

%outUnicode = unicode:UnicodeTrimLeft( amount)

%outUnicode = unicode:UnicodeTrimRight( amount)

%number = unicode:UnicodeUntranslatablePosition

%outUnicode = unicode:UnicodeWith( unicode)