LEFT (FUN)

FUNCTION LEFT : STR.IString

Returns a specific number of runes of a string, starting from left
Returns 0 in case of eErrorID <> ERROR.NO_ERROR
See STR.IStringRepresentationToIString(itfResource, 0, TO_LINT(udiCount-1))
InOut:

Scope

Name

Type

Initial

Comment

Return

LEFT

STR.IString

Input

itfString

STR.IString

String to be analyzed

udiCount

UDINT

Number of runes

itfResource

STR.IString

0

Output

eErrorID

ERROR