Core Function Encode64
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> Encode64( <expression>, <strict> ) </pre> === Description === Encodes string with MIME base64. === Parameters === ==== expression ==== The string to encode. === Retur...") |
m (1 revision) |
||
(2 intermediate revisions by one user not shown) | |||
Line 15: | Line 15: | ||
=== Return Value === | === Return Value === | ||
− | Success: Returns | + | Success: Returns encoded string. |
Failure: Returns empty string. | Failure: Returns empty string. |
Latest revision as of 12:37, 14 June 2015
Encode64( <expression>, <strict> )
Contents |
Description
Encodes string with MIME base64.
Parameters
expression
The string to encode.
Return Value
Success: Returns encoded string.
Failure: Returns empty string.
Remarks
None.
Example
$enc = Encode64("This is an encoded string!\n"); println("Encoded: $enc"); $dec = Decode64($enc); println("Decoded: $dec");