INSERT (FUN)ΒΆ
FUNCTION INSERT : 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
Comment
Return
INSERT
Input
itfString
String into which
itfPartial
is inserteditfPartial
String to be inserted into
itfString
udiStart
UDINT
Insert position.0
: Inserts before the first rune1
: Inserts after the first rune.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