StringTrimLeft and StringTrimRight functions mql5
In MQL5 it's passed by reference, use it like so:
string s = FileReadString(handle); StringTrimLeft(s); StringTrimRight(s);
In MQL5 it's passed by reference, use it like so:
string s = FileReadString(handle); StringTrimLeft(s); StringTrimRight(s);
You agree to website policy and terms of use
Hello guys,
I have a problem with StringTrimLeft and StringTrimRight, because they are integers in mql5. In mql4 source code, all is good because they are strings there. How I fix them for exactly solution in mql5 like in mql4?
string exp = FileReadString(handle);
exp = StringTrimLeft(StringTrimRight(exp));