User:anonymousLog inRegister
Recents:
TrimStart Method

Scope

Objects: Procedures, Transactions, Web PanelsWork 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

Created: 12/21/09 10:12 AM by prodml Last update: 07/13/10 05:08 PM by prodml
 
Page
Categories
Group
 
Powered by GXwiki 3.0 (generated with GeneXus X Evolution 1 U3)