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 (I32) |
p | Position of origin text (one-based) | Long (I32) |
Parameter
nmax | Allocated size of string [bytes] 0 65520 | Long (I32) |
Output
sy | String output value | String |
iE | Error code | Error |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com