Syntax
base64Decode(textToDecode)
Description
Decodes from Base64. This is useful when transferring data like retrieving images stored in a database.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
textToDecode | string | Yes | Test to decode from Base64. |
Return type
String
Returns the input text base64 encoded
Example
string decodedText = base64Decode("RW5jb2RlIHRoaXMgdGV4dCE=");
Returns "Encode this text!"
See also