Unicode methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 14: | Line 14: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeSubstring (Unicode function)|UnicodeSubstring]]</span><span class="literal">(</span> <span class="term">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term">pad</span><span class="squareb">]</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeSubstring (Unicode function)|UnicodeSubstring]]</span><span class="literal">(</span> <span class="term">number</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term">pad</span><span class="squareb">]</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToEbcdic (Unicode function)|UnicodeToEbcdic]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">CharacterEncode=</span> <span class="term">characterEncode</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToEbcdic (Unicode function)|UnicodeToEbcdic]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">CharacterEncode=</span> <span class="term">characterEncode</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToLower (Unicode function)|UnicodeToLower]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToLower (Unicode function)|UnicodeToLower]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToUpper (Unicode function)|UnicodeToUpper]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%object</span><span class="literal">=</span> <span class="term">unicode</span><span class="literal">:[[UnicodeToUpper (Unicode function)|UnicodeToUpper]]</span></p> |
Revision as of 03:27, 19 January 2011
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.
%object= unicode:UnicodeChar( position)
%object= unicode:UnicodeLeft( number, [Pad= pad])
%number= unicode:UnicodeLength
%number= unicode:UnicodePositionIn( string, [Start= start])
%number= unicode:UnicodePositionOf( string, [Start= start])
%number= unicode:UnicodeRegexMatch( unicode, [Options= options], - [CaptureList= captureList])
%object= unicode:UnicodeRegexReplace( unicode, unicode, [Options= options])
%object= unicode:UnicodeReplace
%object= unicode:UnicodeRight( number, [Pad= pad])
%object= unicode:UnicodeSubstring( number, [number], [Pad= pad])
%string= unicode:UnicodeToEbcdic[( [CharacterEncode= characterEncode])]
%object= unicode:UnicodeToLower
%object= unicode:UnicodeToUpper
%string= unicode:UnicodeToUtf16[( [InsertBOM= insertBOM])]
%string= unicode:UnicodeToUtf16Hex
%string= unicode:UnicodeToUtf8[( [InsertBOM= insertBOM])]
%string= unicode:UnicodeToUtf8Hex
%number= unicode:UnicodeUntranslatablePosition
%object= unicode:UnicodeWith( unicode)