String methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
(Automatically generated page update)
 
(16 intermediate revisions by 3 users not shown)
Line 2: Line 2:
     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:Syntax list header|class=String}}
{{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">%outString</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:1px solid;"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES128CBCdecrypt (String function)|AES128CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Base64ToString (String function)|Base64ToString]]</span></p>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES128CBCencrypt (String function)|AES128CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES128decrypt (String function)|AES128decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES128encrypt (String function)|AES128encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES192CBCdecrypt (String function)|AES192CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES192CBCencrypt (String function)|AES192CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES192decrypt (String function)|AES192decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES192encrypt (String function)|AES192encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES256CBCdecrypt (String function)|AES256CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES256CBCencrypt (String function)|AES256CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES256decrypt (String function)|AES256decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[AES256encrypt (String function)|AES256encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
 
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[After (String function)|After]]</span><span class="literal">(</span> <span class="term" title="String">substring</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">%outString</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>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Base64ToString (String function)|Base64ToString]]</span>
 
Throws [[InvalidBase64Data class|InvalidBase64Data]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Before (String function)|Before]]</span><span class="literal">(</span> <span class="term" title="String">substring</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">%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" 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">%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" 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">:[[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">:[[BitClearString (String function)|BitClearString]]</span><span class="literal">(</span> <span class="term" title="Number">bitNumber</span><span class="literal">)</span>
Throws [[InvalidBitNumber class|InvalidBitNumber]]</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">%count</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[BitCountString (String function)|BitCountString]]</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">:[[BitFlipString (String function)|BitFlipString]]</span><span class="literal">(</span> <span class="term" title="Number">bitNumber</span><span class="literal">)</span>
Throws [[InvalidBitNumber class|InvalidBitNumber]]</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" 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">:[[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" 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">:[[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" 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">:[[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">:[[BitSetString (String function)|BitSetString]]</span><span class="literal">(</span> <span class="term" title="Number">bitNumber</span><span class="literal">)</span>
Throws [[InvalidBitNumber class|InvalidBitNumber]]</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">%value</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[BitValueString (String function)|BitValueString]]</span><span class="literal">(</span> <span class="term" title="Number">bitNumber</span><span class="literal">)</span>
Throws [[InvalidBitNumber class|InvalidBitNumber]]</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" 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">%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">%outString</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">%outString</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">%outString</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">%outString</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">%certRequest</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[CertificateRequest (String function)|CertificateRequest]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Country=</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">State=</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">City=</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">Organization=</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">OrganizationalUnit=</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">CommonName=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>              -
                                          <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span>
Throws [[PKCSError class|PKCSError]]</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">%outString</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">%outString</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">%unicode</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[CharacterToUnicode (String function)|CharacterToUnicode]]</span><span class="literal">(</span> <span class="term" title="CharacterToUnicodeMap">characterToUnicodeMap</span><span class="literal">)</span>
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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">%certRequest</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[ClientCertificateRequest (String function)|ClientCertificateRequest]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">Country=</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">State=</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">City=</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">Organization=</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">OrganizationalUnit=</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">CommonName=</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">Challenge=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>            -
                                              <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span>
Throws [[PKCSError class|PKCSError]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA128CBCdecrypt (String function)|DEA128CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA128CBCencrypt (String function)|DEA128CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA128decrypt (String function)|DEA128decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA128encrypt (String function)|DEA128encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA192CBCdecrypt (String function)|DEA192CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA192CBCencrypt (String function)|DEA192CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA192decrypt (String function)|DEA192decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA192encrypt (String function)|DEA192encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA64CBCdecrypt (String function)|DEA64CBCdecrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA64CBCencrypt (String function)|DEA64CBCencrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="comma">,</span> <span class="term" title="String">initVector</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]], [[InvalidCryptoInitVector class|InvalidCryptoInitVector]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA64decrypt (String function)|DEA64decrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DEA64encrypt (String function)|DEA64encrypt]]</span><span class="literal">(</span> <span class="term" title="String">key</span><span class="literal">)</span>
Throws [[UnsupportedCrypto class|UnsupportedCrypto]], [[InvalidCryptoKey class|InvalidCryptoKey]], [[InvalidCryptoData class|InvalidCryptoData]]</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">%outString</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>      -
<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">%outString</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" title="Number">MaxChain=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                               <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">%outString</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">%doc</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[DerToXmlDoc (String function)|DerToXmlDoc]]</span>
 
Throws [[InvalidBerData class|InvalidBerData]]</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">%outString</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>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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" title="Boolean">CharacterDecode=</span> <span class="term" title="Boolean">boolean</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">%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" title="Unicode">Untranslatable=</span> <span class="term" title="Unicode">unicode</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                                     <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 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">:[[FormUrlDecodeUnicode (String function)|FormUrlDecodeUnicode]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Gunzip (String function)|Gunzip]]</span></p>
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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">%boolean</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[EndsWith (String function)|EndsWith]]</span><span class="literal">(</span> <span class="term" title="String">endString</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">%outString</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">%unicode</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[FormUrlDecodeUnicode (String function)|FormUrlDecodeUnicode]]</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>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Gunzip (String function)|Gunzip]]</span>
 
Throws [[InvalidGZipData class|InvalidGZipData]]</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>
 
Throws [[InvalidGZipData class|InvalidGZipData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[GunzipFilename (String function)|GunzipFilename]]</span>
 
Throws [[InvalidGZipData class|InvalidGZipData]]</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">%outString</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>        -
<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">%outString</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" 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" 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" title="Number">LastModified=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                           <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" 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">%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 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">%outString</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Inflate (String function)|Inflate]]</span></p>
Throws [[InvalidHexData class|InvalidHexData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[HexToString (String function)|HexToString]]</span>
 
Throws [[InvalidHexData class|InvalidHexData]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Inflate (String function)|Inflate]]</span>
 
Throws [[InvalidDeflateData class|InvalidDeflateData]]</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">%outString</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">insertedString</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">%outString</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">insertedString</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" 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">%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">%boolean</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[IsStartOf (String function)|IsStartOf]]</span><span class="literal">(</span> <span class="term" title="String">longerString</span><span class="comma">,</span> <span class="literal" title="Number">MinLength=</span> <span class="term" title="Number">number</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">%outString</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">%outString</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">%outString</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[MarksStoreCodeDecrement (String function)|MarksStoreCodeDecrement]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[MarksStoreCodeDecrement (String function)|MarksStoreCodeDecrement]]</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">%outString</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">%outString</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">%outString</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">%sl</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">delims</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">%sl</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">delims</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" title="String">haystack</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">:[[PositionIn (String function)|PositionIn]]</span><span class="literal">(</span> <span class="term" title="String">haystack</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>
Line 43: Line 178:
<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">%outString</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">key</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">%outString</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">key</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" title="String">regex</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">%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">regex</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" title="Stringlist">CaptureList=</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="literal">)</span></p>
                             <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 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">%outString</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">regex</span><span class="comma">,</span> <span class="term" title="String">replacement</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>
 
Throws [[InvalidRegex class|InvalidRegex]]</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">%outString</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">regex</span><span class="comma">,</span> <span class="term" title="String">replacement</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>
 
Throws [[InvalidRegex class|InvalidRegex]]</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">%sl</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">regex</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">%sl</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">regex</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" title="RegexSplitOutputOptions">Add=</span> <span class="term" title="RegexSplitOutputOptions">regexSplitOutputOptions</span><span class="squareb">]</span><span class="literal">)</span></p>
                         <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>
 
Throws [[InvalidRegex class|InvalidRegex]]</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">%outString</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">substring</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">%outString</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">substring</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">%outString</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">substring</span><span class="comma">,</span> <span class="term" title="String">replacement</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">%outString</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">substring</span><span class="comma">,</span> <span class="term" title="String">replacement</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">%outString</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">%outString</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">%outString</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">%outString</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">%doc</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[RSAPrivateKeyToXmlDoc (String function)|RSAPrivateKeyToXmlDoc]]</span>
Throws [[InvalidBerData class|InvalidBerData]]</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">%outString</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">%outString</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[SHA224digest (String function)|SHA224digest]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[SHA256digest (String function)|SHA256digest]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[SHA384digest (String function)|SHA384digest]]</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[SHA512digest (String function)|SHA512digest]]</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="squareb">[</span><span class="term">%signedCert</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">string</span><span class="literal">:[[SignedCertificate (String function)|SignedCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>                -
                                          <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Signer=</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="squareb">[</span><span class="literal" title="String">StartDate=</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="squareb">[</span><span class="literal" title="String">EndDate=</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="squareb">[</span><span class="literal" title="Number">SerialNumber=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>            -
                                          <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</span><span class="squareb">]</span><span class="literal">)</span>
Throws [[PKCSError class|PKCSError]]</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="squareb">[</span><span class="term">%signedCert</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">string</span><span class="literal">:[[SignedClientCertificate (String function)|SignedClientCertificate]]</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="String">PrivateKey=</span><span class="squareb">]</span> <span class="term" title="String">string</span><span class="comma">,</span>          -
                                              <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="String">Signer=</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="squareb">[</span><span class="literal" title="String">StartDate=</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="squareb">[</span><span class="literal" title="String">EndDate=</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="squareb">[</span><span class="literal" title="Number">SerialNumber=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span>        -
                                              <span class="squareb">[</span><span class="literal" title="DigestAlgorithm">SignatureAlgorithm=</span> <span class="term" title="DigestAlgorithm">digestAlgorithm</span><span class="squareb">]</span><span class="literal">)</span>
Throws [[PKCSError class|PKCSError]]</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">:[[StartsWith (String function)|StartsWith]]</span><span class="literal">(</span> <span class="term" title="String">abbreviation</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">%outString</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">%outString</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" 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">%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">format</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span>
 
Throws [[InvalidDateString class|InvalidDateString]]</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">%outString</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">%outString</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" 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" 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">%stringTokenizer</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>              -
<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">%stringTokenizer</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" 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="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">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>
                                             <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>
<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">format</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span>
Throws [[InvalidDateString class|InvalidDateString]]</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">format</span><span class="comma">,</span> <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span>
Throws [[InvalidDateString class|InvalidDateString]]</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">%outString</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">%outString</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[TimeStringConvert (String function)|TimeStringConvert]]</span><span class="literal">(</span> <span class="term" title="String">inputFormat</span><span class="comma">,</span> <span class="term" title="String">outputFormat</span><span class="comma">,</span>              -
                                      <span class="squareb">[</span><span class="squareb">[</span><span class="literal" title="Number">CentSpan=</span><span class="squareb">]</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span>
Throws [[InvalidDateString class|InvalidDateString]]</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">%outString</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">%outString</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">%outString</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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[ToString (String function)|ToString]]</span></p>
Line 71: Line 246:
<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">%outString</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>            -
<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">%outString</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" 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>
                               <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">:[[UrlDecodeUnicode (String function)|UrlDecodeUnicode]]</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">%unicode</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[UrlDecodeUnicode (String function)|UrlDecodeUnicode]]</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>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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" title="Boolean">AllowUntranslatable=</span> <span class="term" title="Boolean">boolean</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">%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" title="Utf16BOM">Bom=</span> <span class="term" title="Utf16BOM">utf16BOM</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                                   <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 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>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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" title="Boolean">AllowUntranslatable=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span>
 
Throws [[CharacterTranslationException class|CharacterTranslationException]]</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">%selectedWord</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Word (String function)|Word]]</span><span class="literal">(</span> <span class="term" title="Number">number</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="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">:[[WordCount (String function)|WordCount]]</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="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">:[[WordNumberIn (String function)|WordNumberIn]]</span><span class="literal">(</span> <span class="term" title="String">haystack</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="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">:[[WordNumberOf (String function)|WordNumberOf]]</span><span class="literal">(</span> <span class="term" title="String">needle</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="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">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[Words (String function)|Words]]</span><span class="literal">(</span> <span class="term" title="Number">start</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">count</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="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">%outString</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">%outString</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">%doc</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[X509CertificateToXmlDoc (String function)|X509CertificateToXmlDoc]]</span>
Throws [[InvalidBerData class|InvalidBerData]]</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">%doc</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:[[X509CrlToXmlDoc (String function)|X509CrlToXmlDoc]]</span>
Throws [[InvalidBerData class|InvalidBerData]]</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">%outString</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>          -
<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">%outString</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" 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" 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" title="Number">LastModified=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p>
                           <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>

Latest revision as of 03:13, 21 February 2020

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:AES128CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES128CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES128decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:AES128encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:AES192CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES192CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES192decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:AES192encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:AES256CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES256CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:AES256decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:AES256encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:After( substring, [Start= number])

%outString = string:AsciiToEbcdic[( [CharacterEncode= boolean])] Throws CharacterTranslationException

%outString = string:Base64ToString Throws InvalidBase64Data

%outString = string:Before( substring, [Start= number])

%number = string:BinaryToFloat

%number = string:BinaryToInteger[( [Signed= boolean])]

%result = string:BitAndString( andBits, [Pad= c])

%result = string:BitClearString( bitNumber) Throws InvalidBitNumber

%count = string:BitCountString

%result = string:BitFlipString( bitNumber) Throws InvalidBitNumber

%result = string:BitOffString( offBits, [Pad= c])

%result = string:BitOnString( onBits, [Pad= c])

%result = string:BitOrString( orBits, [Pad= c])

%result = string:BitSetString( bitNumber) Throws InvalidBitNumber

%value = string:BitValueString( bitNumber) Throws InvalidBitNumber

%result = string:BitXorString( xorBits, [Pad= c])

%outString = string:Center( length, [Pad= c], [OffsetLeft= boolean])

%outString = string:Centre( length, [Pad= c], [OffsetLeft= boolean])

%certRequest = string:CertificateRequest[( [Country= string], - [State= string], [City= string], - [Organization= string], - [OrganizationalUnit= string], - [CommonName= string], - [SignatureAlgorithm= digestAlgorithm])] Throws PKCSError

%outString = string:Char( position)

%unicode = string:CharacterToUnicode( characterToUnicodeMap) Throws CharacterTranslationException

%certRequest = string:ClientCertificateRequest[( [Country= string], - [State= string], - [City= string], - [Organization= string], - [OrganizationalUnit= string], - [CommonName= string], - [Challenge= string], - [SignatureAlgorithm= digestAlgorithm])] Throws PKCSError

%outString = string:DEA128CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA128CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA128decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:DEA128encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:DEA192CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA192CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA192decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:DEA192encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:DEA64CBCdecrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA64CBCencrypt( key, initVector) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData, InvalidCryptoInitVector

%outString = string:DEA64decrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:DEA64encrypt( key) Throws UnsupportedCrypto, InvalidCryptoKey, InvalidCryptoData

%outString = string:Deflate[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number])]

%doc = string:DerToXmlDoc Throws InvalidBerData

%outString = string:EbcdicToAscii[( [CharacterDecode= boolean])] Throws CharacterTranslationException

%unicode = string:EbcdicToUnicode[( [CharacterDecode= boolean], - [Untranslatable= unicode])] Throws CharacterTranslationException

%boolean = string:EndsWith( endString)

%unicode = string:FormUrlDecodeUnicode[( [AllowUntranslatable= boolean])] Throws CharacterTranslationException

%outString = string:Gunzip Throws InvalidGZipData

%number = string:GunzipDatetimeNS Throws InvalidGZipData

%outString = string:GunzipFilename Throws InvalidGZipData

%outString = string:Gzip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]

%number = string:HexToInteger[( [Signed= boolean])] Throws InvalidHexData

%outString = string:HexToString Throws InvalidHexData

%outString = string:Inflate Throws InvalidDeflateData

%outString = string:Insert( insertedString, position)

%boolean = string:IsOneOf( list)

%boolean = string:IsStartOf( longerString, MinLength= number)

%outString = string:Left( length, [Pad= c])

%length = string:Length

%outString = string:MarksStoreCodeDecrement

%outString = string:MarksStoreCodeIncrement

%number = string:MarksStoreCodeToNumber

%outString = string:MD5digest

%sl = string:ParseLines[( [delims], [StripTrailingNull= boolean])]

%position = string:PositionIn( haystack, [Start= number])

%position = string:PositionOf( needle, [Start= number])

%outString = string:RC4decrypt( key)

%outString = string:RC4encrypt( key)

%number = string:RegexMatch( regex, [Options= string], - [CaptureList= stringlist]) Throws InvalidRegex

%outString = string:RegexReplace( regex, replacement, [Options= string]) Throws InvalidRegex

%sl = string:RegexSplit( regex, [Options= string], - [Add= regexSplitOutputOptions]) Throws InvalidRegex

%outString = string:Remove( substring, [Count= number])

%outString = string:Replace( substring, replacement, [Count= number])

%outString = string:Reverse

%outString = string:Right( length, [Pad= c])

%doc = string:RSAPrivateKeyToXmlDoc Throws InvalidBerData

%outString = string:SHAdigest

%outString = string:SHA224digest

%outString = string:SHA256digest

%outString = string:SHA384digest

%outString = string:SHA512digest

[%signedCert =] string:SignedCertificate( [PrivateKey=] string, - [[Signer=] string], - [[StartDate=] string], - [[EndDate=] string], - [[SerialNumber=] number], - [SignatureAlgorithm= digestAlgorithm]) Throws PKCSError

[%signedCert =] string:SignedClientCertificate( [PrivateKey=] string, - [[Signer=] string], - [[StartDate=] string], - [[EndDate=] string], - [[SerialNumber=] number], - [SignatureAlgorithm= digestAlgorithm]) Throws PKCSError

%boolean = string:StartsWith( abbreviation)

%outString = string:StringToBase64

%days = string:StringToDays( format, [[CentSpan=] number]) Throws InvalidDateString

%outString = string:StringToHex

%stringTokenizer = string:StringTokenizer[( [TokenChars= string], - [Spaces= string], - [Quotes= string], - [Separators= string])]

%milliseconds = string:StringToMilliseconds( format, [[CentSpan=] number]) Throws InvalidDateString

%seconds = string:StringToSeconds( format, [[CentSpan=] number]) Throws InvalidDateString

%outString = string:Substring( position, [length], [Pad= c])

%outString = string:TimeStringConvert( inputFormat, outputFormat, - [[CentSpan=] number]) Throws InvalidDateString

%outString = string:ToLower

%outString = string:ToString

%outString = string:ToUpper

%outString = string:Translate( characterMap)

%outString = string:TrimLeft( amount)

%outString = string:TrimRight( amount)

%unicode = string:U

%outString = string:Unspace[( [Spaces= string], [Leading= boolean], - [Trailing= boolean], [Compress= boolean])]

%unicode = string:UrlDecodeUnicode[( [AllowUntranslatable= boolean])] Throws CharacterTranslationException

%unicode = string:Utf16ToUnicode[( [AllowUntranslatable= boolean], - [Bom= utf16BOM])] Throws CharacterTranslationException

%unicode = string:Utf8ToUnicode[( [AllowUntranslatable= boolean])] Throws CharacterTranslationException

%selectedWord = string:Word( number, [Spaces= string])

%number = string:WordCount[( [Spaces= string])]

%number = string:WordNumberIn( haystack, [Spaces= string])

%number = string:WordNumberOf( needle, [Spaces= string])

%outString = string:Words( start, [count], [Spaces= string])

%outString = string:X

%doc = string:X509CertificateToXmlDoc Throws InvalidBerData

%doc = string:X509CrlToXmlDoc Throws InvalidBerData

%outString = string:Zip[( [FixedCode= boolean], [LazyMatch= boolean], - [MaxChain= number], [Filename= string], - [LastModified= number])]