REPLACE – Replace substring

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio su1 su2 l p sy iE REPLACE

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 numbered from one.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

su1

String input value

String

su2

String input value

String

l

Length of origin text

Long (I32)

p

Position of origin text

Long (I32)

Parameter

nmax

Allocated size of string   0  65520

Long (I32)

Output

sy

String output value

String

iE

Error code

Error

2024 © REX Controls s.r.o., www.rexygen.com