REPLACE (FUN)ΒΆ
FUNCTION REPLACE : STR.IString
Replaces a specific number of characters of a string by another string
Replace udiCount
characters from itfString
by itfPartial
, beginning with the character in the udiStart
position.
- InOut:
Scope
Name
Type
Initial
Comment
Return
REPLACE
STR.IString
Input
itfString
STR.IString
String to be modfied
itfPartial
STR.IString
String which replaces a part of
itfString
udiCount
UDINT
Number of runes, counting from left IF udiCount is 0, no rune is replaced and INSERT is called
udiStart
UDINT
Start index of the runes to be replaced. First rune is index 0
itfResource
STR.IString
0
Output
eErrorID