Returns a specified character expression with all leading blanks removed.
Is the character
expression from which you want to trim all leading blanks.
Data Types: Character, VarChar, LongVarChar
.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), RPG, Visual FoxPro (up to GeneXus X Evolution 3)
This method returns the character string that results from removing the leading blanks from a character expression String.
Note: In Cobol for iSeries this function is ignored, because the string's length is fixed.
&Text = &Var.TrimStart()
// &Var = " My character expression"
// Result of &Text: “My character expression”