F_LTrim
 
Removes leading spaces from the string and returns the reduced string.
 Return value
Name  | Type  | Description  | 
|---|---|---|
F_LTrim  | T_MaxString  | 
  | 
 Inputs
VAR_INPUT
    in  : T_MaxString;
END_VARName  | Type  | Description  | 
|---|---|---|
in  | T_MaxString  | The string to be converted (type: T_MaxString).  | 
Example:
PROGRAM MAIN
VAR
    sLTrim : STRING;
END_VARsLTrim := F_LTrim(' <trim ');(* result: '<trim ' *)
sLTrim := F_LTrim(' <trim');(* result: '<trim' *)
sLTrim := F_LTrim('<trim');(* result: '<trim' *)
sLTrim := F_LTrim('');(* result: '' *)Requirements
Development environment  | Target platform  | PLC libraries to be integrated (category group)  | 
|---|---|---|
TwinCAT v3.1.0  | PC or CX (x86, x64, Arm®)  | Tc2_Utilities (System)  |