DELETE (FUN)ΒΆ
FUNCTION DELETE : IString
Deletes a number of runes from a string
Returns 0 in case of
eErrorID
<> ERROR.NO_ERROR
- InOut:
Scope
Name
Type
Comment
Return
DELETE
Input
itfString
The original String, will not be modified
udiCount
UDINT
Length of the partial string to be deleted, number of runes
udiStart
UDINT
Position initfString
after which the deletion startsRunes counted from leftMust be greater than 0 (See RIGHT, if the right part of a string is needed)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