Scope
Objects: Procedures, Transactions, Web Panels, Work Panels Languages: .NET, Java, Ruby, RPG, Visual FoxPro
Purpose
Returns the specified character expression with all leading blanks removed.
Syntax
Str.TrimStart( )
Type Returned Character
Where: Str Is the character expression from which you want to trim all leading blanks.
Description
Returns a character string that results from removing the leading blanks from the character expression Str.
Note:
In Cobol for iSeries this function is ignored because the strings length is fixed.
Example&Text = &Var.TrimStart()
// &Var = " My character expression" // Result of &Text: “My character expression”
See Also
Trim Function LTrim Function Trim Method
|