String methods syntax: Difference between revisions
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: | {{Template:Syntax list header|class=String}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%string</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[AsciiToEbcdic (String function)|AsciiToEbcdic]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">CharacterEncode=</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%string</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[AsciiToEbcdic (String function)|AsciiToEbcdic]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">CharacterEncode=</span> <span class="term" title="Boolean">boolean</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">string</span><span class="literal">:[[Base64ToString (String function)|Base64ToString]]</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">string</span><span class="literal">:[[Base64ToString (String function)|Base64ToString]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BinaryToFloat (String function)|BinaryToFloat]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BinaryToFloat (String function)|BinaryToFloat]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BinaryToInteger (String function)|BinaryToInteger]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">Signed=</span> <span class="term"> | <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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BinaryToInteger (String function)|BinaryToInteger]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">Signed=</span> <span class="term" title="Boolean">boolean</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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitAndString (String function)|BitAndString]]</span><span class="literal">(</span> <span class="term">andBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitAndString (String function)|BitAndString]]</span><span class="literal">(</span> <span class="term" title="String">andBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOffString (String function)|BitOffString]]</span><span class="literal">(</span> <span class="term">offBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOffString (String function)|BitOffString]]</span><span class="literal">(</span> <span class="term" title="String">offBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOnString (String function)|BitOnString]]</span><span class="literal">(</span> <span class="term">onBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOnString (String function)|BitOnString]]</span><span class="literal">(</span> <span class="term" title="String">onBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOrString (String function)|BitOrString]]</span><span class="literal">(</span> <span class="term">orBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitOrString (String function)|BitOrString]]</span><span class="literal">(</span> <span class="term" title="String">orBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitXorString (String function)|BitXorString]]</span><span class="literal">(</span> <span class="term">xorBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">%result</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[BitXorString (String function)|BitXorString]]</span><span class="literal">(</span> <span class="term" title="String">xorBits</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">string</span><span class="literal">:[[Center (String function)|Center]]</span><span class="literal">(</span> <span class="term">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">string</span><span class="literal">:[[Center (String function)|Center]]</span><span class="literal">(</span> <span class="term" title="Number">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">OffsetLeft=</span> <span class="term" title="Boolean">boolean</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">string</span><span class="literal">:[[Centre (String function)|Centre]]</span><span class="literal">(</span> <span class="term">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">string</span><span class="literal">:[[Centre (String function)|Centre]]</span><span class="literal">(</span> <span class="term" title="Number">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">OffsetLeft=</span> <span class="term" title="Boolean">boolean</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">string</span><span class="literal">:[[Char (String function)|Char]]</span><span class="literal">(</span> <span class="term">position</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">string</span><span class="literal">:[[Char (String function)|Char]]</span><span class="literal">(</span> <span class="term" title="Number">position</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">string</span><span class="literal">:[[Deflate (String function)|Deflate]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">FixedCode=</span> <span class="term"> | <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">string</span><span class="literal">:[[Deflate (String function)|Deflate]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">FixedCode=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">LazyMatch=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">MaxChain=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Number">MaxChain=</span> <span class="term" title="Number">number</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">string</span><span class="literal">:[[EbcdicToAscii (String function)|EbcdicToAscii]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">CharacterDecode=</span> <span class="term"> | <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">string</span><span class="literal">:[[EbcdicToAscii (String function)|EbcdicToAscii]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">CharacterDecode=</span> <span class="term" title="Boolean">boolean</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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[EbcdicToUnicode (String function)|EbcdicToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">CharacterDecode=</span> <span class="term"> | <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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[EbcdicToUnicode (String function)|EbcdicToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">CharacterDecode=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">Untranslatable=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Unicode">Untranslatable=</span> <span class="term" title="Unicode">unicode</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">string</span><span class="literal">:[[Gunzip (String function)|Gunzip]]</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">string</span><span class="literal">:[[Gunzip (String function)|Gunzip]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[GunzipDatetimeNS (String function)|GunzipDatetimeNS]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[GunzipDatetimeNS (String function)|GunzipDatetimeNS]]</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">string</span><span class="literal">:[[GunzipFilename (String function)|GunzipFilename]]</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">string</span><span class="literal">:[[GunzipFilename (String function)|GunzipFilename]]</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">string</span><span class="literal">:[[Gzip (String function)|Gzip]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">FixedCode=</span> <span class="term"> | <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">string</span><span class="literal">:[[Gzip (String function)|Gzip]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">FixedCode=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">LazyMatch=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">MaxChain=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Number">MaxChain=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Filename=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">LastModified=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Number">LastModified=</span> <span class="term" title="Number">number</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[HexToInteger (String function)|HexToInteger]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">Signed=</span> <span class="term"> | <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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[HexToInteger (String function)|HexToInteger]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">Signed=</span> <span class="term" title="Boolean">boolean</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">string</span><span class="literal">:[[HexToString (String function)|HexToString]]</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">string</span><span class="literal">:[[HexToString (String function)|HexToString]]</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">string</span><span class="literal">:[[Inflate (String function)|Inflate]]</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">string</span><span class="literal">:[[Inflate (String function)|Inflate]]</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">string</span><span class="literal">:[[Insert (String function)|Insert]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="term">position</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">string</span><span class="literal">:[[Insert (String function)|Insert]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="Number">position</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">%boolean</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[IsOneOf (String function)|IsOneOf]]</span><span class="literal">(</span> <span class="term">list</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">%boolean</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[IsOneOf (String function)|IsOneOf]]</span><span class="literal">(</span> <span class="term" title="String">list</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">string</span><span class="literal">:[[Left (String function)|Left]]</span><span class="literal">(</span> <span class="term">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">string</span><span class="literal">:[[Left (String function)|Left]]</span><span class="literal">(</span> <span class="term" title="Number">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">%length</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Length (String function)|Length]]</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">%length</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Length (String function)|Length]]</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">string</span><span class="literal">:[[MD5digest (String function)|MD5digest]]</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">string</span><span class="literal">:[[MD5digest (String function)|MD5digest]]</span></p> | ||
Line 38: | Line 36: | ||
<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">string</span><span class="literal">:[[MarksStoreCodeIncrement (String function)|MarksStoreCodeIncrement]]</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">string</span><span class="literal">:[[MarksStoreCodeIncrement (String function)|MarksStoreCodeIncrement]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[MarksStoreCodeToNumber (String function)|MarksStoreCodeToNumber]]</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[MarksStoreCodeToNumber (String function)|MarksStoreCodeToNumber]]</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">string</span><span class="literal">:[[ParseLines (String function)|ParseLines]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">StripTrailingNull=</span> <span class="term"> | <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">string</span><span class="literal">:[[ParseLines (String function)|ParseLines]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">StripTrailingNull=</span> <span class="term" title="Boolean">boolean</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">%position</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[PositionIn (String function)|PositionIn]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Start=</span> <span class="term"> | <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">%position</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[PositionIn (String function)|PositionIn]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">Start=</span> <span class="term" title="Number">number</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">%position</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[PositionOf (String function)|PositionOf]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Start=</span> <span class="term"> | <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">%position</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[PositionOf (String function)|PositionOf]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">Start=</span> <span class="term" title="Number">number</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">string</span><span class="literal">:[[RC4decrypt (String function)|RC4decrypt]]</span><span class="literal">(</span> <span class="term">string</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">string</span><span class="literal">:[[RC4decrypt (String function)|RC4decrypt]]</span><span class="literal">(</span> <span class="term" title="String">string</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">string</span><span class="literal">:[[RC4encrypt (String function)|RC4encrypt]]</span><span class="literal">(</span> <span class="term">string</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">string</span><span class="literal">:[[RC4encrypt (String function)|RC4encrypt]]</span><span class="literal">(</span> <span class="term" title="String">string</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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[RegexMatch (String function)|RegexMatch]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Options=</span> <span class="term"> | <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">%number</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[RegexMatch (String function)|RegexMatch]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">CaptureList=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Stringlist">CaptureList=</span> <span class="term" title="Stringlist">stringlist</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">string</span><span class="literal">:[[RegexReplace (String function)|RegexReplace]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Options=</span> <span class="term"> | <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">string</span><span class="literal">:[[RegexReplace (String function)|RegexReplace]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</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">string</span><span class="literal">:[[RegexSplit (String function)|RegexSplit]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Options=</span> <span class="term"> | <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">string</span><span class="literal">:[[RegexSplit (String function)|RegexSplit]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<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">string</span><span class="literal">:[[Remove (String function)|Remove]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Count=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="RegexSplitOutputOptions">Add=</span> <span class="term" title="RegexSplitOutputOptions">regexSplitOutputOptions</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">string</span><span class="literal">:[[Replace (String function)|Replace]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Count=</span> <span class="term"> | <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">string</span><span class="literal">:[[Remove (String function)|Remove]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">Count=</span> <span class="term" title="Number">number</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">string</span><span class="literal">:[[Replace (String function)|Replace]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Number">Count=</span> <span class="term" title="Number">number</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">string</span><span class="literal">:[[Reverse (String function)|Reverse]]</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">string</span><span class="literal">:[[Reverse (String function)|Reverse]]</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">string</span><span class="literal">:[[Right (String function)|Right]]</span><span class="literal">(</span> <span class="term">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">string</span><span class="literal">:[[Right (String function)|Right]]</span><span class="literal">(</span> <span class="term" title="Number">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">string</span><span class="literal">:[[SHAdigest (String function)|SHAdigest]]</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">string</span><span class="literal">:[[SHAdigest (String function)|SHAdigest]]</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">string</span><span class="literal">:[[StringToBase64 (String function)|StringToBase64]]</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">string</span><span class="literal">:[[StringToBase64 (String function)|StringToBase64]]</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">%days</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToDays (String function)|StringToDays]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">centSpan</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">%days</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToDays (String function)|StringToDays]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">centSpan</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">string</span><span class="literal">:[[StringToHex (String function)|StringToHex]]</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">string</span><span class="literal">:[[StringToHex (String function)|StringToHex]]</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">%milliseconds</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToMilliseconds (String function)|StringToMilliseconds]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">centSpan</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">%milliseconds</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToMilliseconds (String function)|StringToMilliseconds]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">centSpan</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">%seconds</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToSeconds (String function)|StringToSeconds]]</span><span class="literal">(</span> <span class="term">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">centSpan</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">%seconds</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[StringToSeconds (String function)|StringToSeconds]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">centSpan</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">string</span><span class="literal">:[[Substring (String function)|Substring]]</span><span class="literal">(</span> <span class="term">position</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">length</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term"> | <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">string</span><span class="literal">:[[Substring (String function)|Substring]]</span><span class="literal">(</span> <span class="term" title="Number">position</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">length</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</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">string</span><span class="literal">:[[ToLower (String function)|ToLower]]</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">string</span><span class="literal">:[[ToLower (String function)|ToLower]]</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">string</span><span class="literal">:[[ToString (String function)|ToString]]</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">string</span><span class="literal">:[[ToString (String function)|ToString]]</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">string</span><span class="literal">:[[ToUpper (String function)|ToUpper]]</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">string</span><span class="literal">:[[ToUpper (String function)|ToUpper]]</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">string</span><span class="literal">:[[Translate (String function)|Translate]]</span><span class="literal">(</span> <span class="term">characterMap</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">string</span><span class="literal">:[[Translate (String function)|Translate]]</span><span class="literal">(</span> <span class="term" title="CharacterMap">characterMap</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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[U (String function)|U]]</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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[U (String function)|U]]</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">string</span><span class="literal">:[[Unspace (String function)|Unspace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">Spaces=</span> <span class="term"> | <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">string</span><span class="literal">:[[Unspace (String function)|Unspace]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Spaces=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Leading=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">Trailing=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Boolean">Trailing=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">Compress=</span> <span class="term" title="Boolean">boolean</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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Utf16ToUnicode (String function)|Utf16ToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">AllowUntranslatable=</span> <span class="term"> | <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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Utf16ToUnicode (String function)|Utf16ToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">AllowUntranslatable=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">Bom=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Utf16BOM">Bom=</span> <span class="term" title="Utf16BOM">utf16BOM</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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Utf8ToUnicode (String function)|Utf8ToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">AllowUntranslatable=</span> <span class="term"> | <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">%unicode</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Utf8ToUnicode (String function)|Utf8ToUnicode]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">AllowUntranslatable=</span> <span class="term" title="Boolean">boolean</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">string</span><span class="literal">:[[X (String function)|X]]</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">string</span><span class="literal">:[[X (String function)|X]]</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">string</span><span class="literal">:[[Zip (String function)|Zip]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">FixedCode=</span> <span class="term"> | <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">string</span><span class="literal">:[[Zip (String function)|Zip]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Boolean">FixedCode=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">LazyMatch=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">MaxChain=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Number">MaxChain=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Filename=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">LastModified=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="Number">LastModified=</span> <span class="term" title="Number">number</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">string</span><span class="literal">:[[stringTokenizer (String function)|stringTokenizer]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal">TokenChars=</span> <span class="term"> | <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">string</span><span class="literal">:[[stringTokenizer (String function)|stringTokenizer]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">TokenChars=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Spaces=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">Quotes=</span> <span class="term"> | <span class="squareb">[</span><span class="literal" title="String">Quotes=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Separators=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> |
Revision as of 15:34, 24 January 2011
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.
%string= string:AsciiToEbcdic[( [CharacterEncode= boolean])]
%string= 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])
%string= string:Center( length, [Pad= c], [OffsetLeft= boolean])
%string= string:Centre( length, [Pad= c], [OffsetLeft= boolean])
%string= string:Char( position)
%string= string:Deflate[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number])]
%string= string:EbcdicToAscii[( [CharacterDecode= boolean])]
%unicode= string:EbcdicToUnicode[( [CharacterDecode= boolean], - [Untranslatable= unicode])]
%string= string:Gunzip
%number= string:GunzipDatetimeNS
%string= string:GunzipFilename
%string= string:Gzip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]
%number= string:HexToInteger[( [Signed= boolean])]
%string= string:HexToString
%string= string:Inflate
%string= string:Insert( string, position)
%boolean= string:IsOneOf( list)
%string= string:Left( length, [Pad= c])
%length= string:Length
%string= string:MD5digest
%string= string:MarksStoreCodeDecrement
%string= string:MarksStoreCodeIncrement
%number= string:MarksStoreCodeToNumber
%object= string:ParseLines[( [string], [StripTrailingNull= boolean])]
%position= string:PositionIn( string, [Start= number])
%position= string:PositionOf( string, [Start= number])
%string= string:RC4decrypt( string)
%string= string:RC4encrypt( string)
%number= string:RegexMatch( string, [Options= string], - [CaptureList= stringlist])
%string= string:RegexReplace( string, string, [Options= string])
%object= string:RegexSplit( string, [Options= string], - [Add= regexSplitOutputOptions])
%string= string:Remove( string, [Count= number])
%string= string:Replace( string, string, [Count= number])
%string= string:Reverse
%string= string:Right( length, [Pad= c])
%string= string:SHAdigest
%string= string:StringToBase64
%days= string:StringToDays( string, [centSpan])
%string= string:StringToHex
%milliseconds= string:StringToMilliseconds( string, [centSpan])
%seconds= string:StringToSeconds( string, [centSpan])
%string= string:Substring( position, [length], [Pad= c])
%string= string:ToLower
%string= string:ToString
%string= string:ToUpper
%string= string:Translate( characterMap)
%unicode= string:U
%string= string:Unspace[( [Spaces= string], [Leading= boolean], - [Trailing= boolean], [Compress= boolean])]
%unicode= string:Utf16ToUnicode[( [AllowUntranslatable= boolean], - [Bom= utf16BOM])]
%unicode= string:Utf8ToUnicode[( [AllowUntranslatable= boolean])]
%string= string:X
%string= string:Zip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]
%object= string:stringTokenizer[( [TokenChars= string], [Spaces= string], - [Quotes= string], [Separators= string])]