RIGHT (FUN)

FUNCTION RIGHT : STR.IString

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

Scope

Name

Type

Initial

Comment

Return

RIGHT

STR.IString

Input

itfString

STR.IString

String to be analyzed

udiCount

UDINT

Number of runes

itfResource

STR.IString

0

Output

eErrorID

ERROR