[String->Substring] returns a substring. The start of the substring is defined by the first parameter and the length of the substring is defined by the second parameter. Requires two integer parameters.
[String Variable->(Substring: Offset, Length)]
Use the [String->Substring] tag to return the first 1024 characters of a field value. The field Description is stored in a variable by the same name and then trimmed to 1024 characters.
[Var: 'Description'=(Field: 'Description')]
[(Var:'Description')->(Substring: 1, 1024)]
Tag Link | [String->Substring] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft