Core Function Decode64

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Decode64( <expression>, <strict> ) </pre> === Description === Decodes string with MIME base64. === Parameters === ==== expression ==== The string to decode. ==== stri...")
 
m (1 revision)
 
(One intermediate revision by one user not shown)

Latest revision as of 12:37, 14 June 2015

Decode64( <expression>, <strict> )

Contents

Description

Decodes string with MIME base64.

Parameters

expression

The string to decode.

strict

Optional; Function fails if input contains character from outside the base64 alphabet.

Return Value

Success: Returns decoded 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");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox