INSERT (FUN)ΒΆ
FUNCTION INSERT : STR.IString
Inserts a partial string into another string at a specific position
Returns 0 in case of
eErrorID
<> ERROR.NO_ERROR
- InOut:
Scope
Name
Type
Initial
Comment
Return
INSERT
STR.IString
Input
itfString
STR.IString
String into which
itfPartial
is inserteditfPartial
STR.IString
String to be inserted into
itfString
udiStart
UDINT
Insert position.0
: Inserts before the first rune1
: Inserts after the first rune.itfResource
STR.IString
0
Output
eErrorID