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 inserted

itfPartial

STR.IString

String to be inserted into itfString

udiStart

UDINT

Insert position.
0: Inserts before the first rune
1: Inserts after the first rune.

itfResource

STR.IString

0

Output

eErrorID

ERROR