[String->Merge] modifies the base string in-place by merging or inserting another string at a specified location. This tag requires two parameters and accepts several optional parameters.
The first parameter is the location in the base string at which to insert the merge string. A 1 specifies that the merge string should be inserted before the base string.
The second parameter is the string to merge.
An optional third parameter specifies an offset into the merge string. Only characters after the specified offset will be inserted into the base string. This parameter defaults to 1.
An optional fourth parameter specifies the number of characters from the merge string that should be inserted into the base string. This parameter defaults to the length of the merge string.
No characters from the base string will be replaced. The merge string will be inserted into the base string at the specified location, but the base string will remain intact before and after the merged string.
[Variable: 'myString' = 'String Value']
[$myString->(Merge: Offset, 'Merge String']
[Variable: 'myString']
[$myString->(Merge: Offset, 'Merge String', Offset, Length)]
See the Lasso 8 Language Guide for examples of how to use this tag. This tag is documented on page 286.
Tag Link | [String->Merge] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.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