Core Function Decode64

From Sputnik Wiki
Jump to: navigation, search
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