Lasso Soft Inc. > Home

[String]

[String] casts a value to data type string. Every data type has a string representation.
- Integer and decimal values have their formatting rules applied.
- Maps, arrays, and pairs are displayed in a format suitable for inspecting the elements of the data type.
- Null values map to the empty string.
- Boolean values map to the strings 'True' and 'False'.

  • Syntax
  • Parameters
[String: 'Value']
Required Parameters
Value The value which will be converted into a string.
Examples

To cast a value into a string:

Use the [String] tag. The following example performs a string operation on a series of numbers by casting them to string values before applying the concatenation symbol to them.

[Output: (String: 1) + (String: 1)]
Result:
11
Tag Link [String] Category Data Type
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security None
Implementation Sets 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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft