MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  String functions  StringTrimLeft

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
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   "