REPLACE – Replace substring
Block SymbolLicensing group: STANDARD
Function Description
The REPLACE block replaces a substring from su1 by the string su2 and puts the result in sy.
The parameters l and p specify position and length of the string being replaced in UTF-8
characters. The parameter p is one-based.
Inputs
su1 | String input value | string |
su2 | String input value | string |
l | Length of origin text | long |
p | Position of origin text (one-based) | long |
Parameter
nmax | Allocated size of string [bytes] 0 65520 | long |
Output
sy | String output value | string |
[Previous] [Back to top] [Up] [Next]