REPLACE (FUN)ΒΆ
FUNCTION REPLACE : 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
Comment
Return
REPLACE
Input
itfString
String to be modfied
itfPartial
String which replaces a part of
itfString
udiCount
UDINT
Number of runes to be replaced, counting from left
udiStart
UDINT
Start index of the runes to be replaced. First rune is index 0
itfResource
The resource that this function is working on. It will contain the result after the function call and will also be returned by this function so it can be used in nested calls.
Output
eErrorID