Removes spaces from the beginning of a string.
LeftTrim ( string )
LeftTrimW ( string )
Argument |
Description |
---|---|
string |
The string you want returned with leading spaces deleted |
String. Returns a copy of string with leading spaces deleted if it succeeds and the empty string ("") if an error occurs. If string is null, LeftTrim returns null.
This statement returns RUTH:
LeftTrim(" RUTH")
These statements delete leading spaces from the text in the MultiLineEdit mle_name and store the result in emp_name:
string emp_name
emp_name = LeftTrim(mle_name.Text)