Lasso Soft Inc. > Home

[ Encode_Break ]

Method

[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
encode_break(string)
Examples
  • Beginner

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.

Code

[Encode_Break('one\rtwo')]

Result

one
two

Recent Comments

No Comments found

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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft