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