LassoScript Utility
Basics Browse Detail

[Encode_Base64]

Tag Link [Encode_Base64] Category Encoding
Type Substitution Source Available No
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Encode_Base64] encodes a string into a format suitable for being stored in a database or transmitted in a URL. Accepts one parameter, a string to be encoded.

The encoded string can be decoded using the [Decode_Base64] tag.

Syntax

[Encode_Base64: 'Encoding Value']

Parameters

Required Parameters
Encoding Value The value to be encoded using Base64.

Examples

To encode a value using Base64:

Use the [Encode_Base64] tag. The following example shows how to encode a string using this tag.

[Encode_Base64: 'The quick brown fox  jumped over the lazy dog.']

VGhlIHF1aWNrIGJyb3duIGZveCBqdW1
wZWQgb3ZlciB0aGUgbGF6eSBkb2cu