Core Function Encode64

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Encode64( <expression>, <strict> ) </pre> === Description === Encodes string with MIME base64. === Parameters === ==== expression ==== The string to encode. === Retur...")
 
(Return Value)
Line 15: Line 15:
 
=== Return Value ===
 
=== Return Value ===
  
Success: Returns decoded string.
+
Success: Returns encoded string.
  
 
Failure: Returns empty string.
 
Failure: Returns empty string.

Revision as of 15:23, 22 January 2013

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