[String_Insert] takes three parameters: a string, a -Text keyword/value parameter which defines the text to be inserted, and a -Position parameter which defines the offset into the string at which to insert the text. Returns a new string with the specified text inserted at the specified location.
[String_Insert: 'String Value',
-Position=Position,
-Text='String Value']
Use the [String_Insert] tag. The following example inserts the word quick into the string in between the first two words.
[String_Insert: 'The brown fox jumped over the lazy dog',
-Position=5, -Text='quick ']
The quick brown fox jumped over the lazy dog.
Tag Link | [String_Insert] | Category | String |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
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