Lasso Soft Inc. > Home

[Encode_Break]

[Encode_Break] takes a single argument which is a string to be encoded. It encodes any return or new line characters in the string into HTML break tags <br>.

Note: This tag performs the same encoding as the -EncodeBreak keyword.

  • Syntax
  • Parameters
[Encode_Break: 'Encoding Value']
Required Parameters
Encoding Value The specified value will have -EncodeBreak encoding applied.
Examples

To encode text using break HTML encoding:

Use the [Encode_Break] tag. The following example encodes a string using break HTML encoding to demonstrate what characters are replaced by HTML entitites. The only character which is changed in the output is the return character that is replaced by an HTML <br> tag.

[Encode_Break: 'one\rtwo']
Result:
one<br>two
Tag Link [Encode_Break] Category Encoding
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security None
Implementation Internal Sets Lasso 6.0, Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft