Returns a specified character expression with all leading blanks removed.
String.TrimStart( )
Where:
String
Is the character
expression from which you want to trim all leading blanks.
Type Returned:
Character
Data Types: Character, VarChar, LongVarChar
Generators:
.NET,
.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”
Trim function
LTrim function
Trim method