RIGHT (FUN)ΒΆ
FUNCTION RIGHT : STRING(255)
Returns a specific number of characters of a string, starting from right
RIGHT (STR, SIZE) means: Return the first SIZE characters from the right in string STR
(* Example declaration *)
VarSTRING1 : STRING ;
(* Example in ST , result is 'USI' *)
VarSTRING1 := RIGHT ('SUSI',3);
- InOut:
Scope
Name
Type
Comment
Return
RIGHTSTRING(255)Resulting string
Input
STRSTRING(255)String to be analyzed
SIZEINTNumber of characters