[String_Replace] takes three parameters: a string, a -Find keyword/value parameter, and a -Replace keyword/value parameter. Returns the string with the all instances of the -Find parameter replaced by the -Replace parameter. The find parameter is not case sensitive.
[String_Replace: 'String Value',
-Find='Pattern',
-Replace='Pattern']
Use the [String_Replace] tag. The tag replaces the first instance of the found pattern within the string. The following example replaces the word Green with the word Blue.
[String_Replace: 'Green World', -Find='Green', -Replace='Blue']
Blue World
Tag Link | [String_Replace] | Category | String |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, 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