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
REPLACESTR.IStringInput
itfStringSTR.IStringString to be modfied
itfPartialSTR.IStringString which replaces a part of
itfStringudiCountUDINTNumber of runes, counting from left IF udiCount is 0, no rune is replaced and INSERT is called
udiStartUDINTStart index of the runes to be replaced. First rune is index 0
itfResourceSTR.IString0
Output
eErrorID