RIGHT (FUN)

FUNCTION RIGHT : IString

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

Scope

Name

Type

Comment

Return

RIGHT

IString

Input

itfString

IString

String to be analyzed

udiCount

UDINT

Number of runes

itfResource

IString

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

ERROR