Returns the specified character expression without any blank spaces placed at the beginning of the expression.
Is the character expression from which you want to trim blanks.
Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Apple, Android,
This function is especially useful for removing the blanks inserted when you use Str() function to convert a numeric value into a character string.
Note: In Cobol for iSeries the character expression can be up to 256 bytes long.
&Var = LTrim(' H e l l o') // Result of &Var: “H e l l o”