MQL4 Reference
String functions
StringTrimLeft
| string StringTrimLeft( |
string text) |
The function cuts line feed characters, spaces
and tabs in the left part of the string.
The function returns a copy of the trimmed string, if possible.
Otherwise, it returns an empty string.
Parameters:
| text |
- |
String to be trimmed at the left. |
Sample:
string str1=" Hello world ";
string str2=StringTrimLeft(str);
// after trimming the str2 variable will be "Hello World "
|
|
|