ltrim

Top  Previous  Next

Definition

trimmedStr = string.ltrim ( str )

 

Name

Type

Description

str

string

String with possible white space at beginning and end

trimmedStr

string

String without any white space at beginning

Example

print( string.ltrim("     hello    world     ") )

 

This will print "hello    world     "