Replaces all instances of a value within a bytes stream with a new value. Requires two parameters. The first parameter is the value to find, and the second parameter is the value to replace the first parameter with.
[Bytes Object->(Replace: Find Value, Replace Value)]
Use the [Bytes->Replace] tag. The following example finds the string Blue and replaces with the string Green within the bytes stream.
[Var: 'Bytes' = (Bytes: 'Blue Red Yellow')]
[$Bytes->(Replace: 'Blue', 'Green')]
Tag Link | [Bytes->Replace] | Category | Bytes |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.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