Hi,
I’m porting my mq4 program to mq5 and I face compilation issues, not sure what variable expected here as I’m already passing str variable for StringSubst.
const string str=NewsArr[0][nomf];
string time=StringConcatenate(StringSubstr (str,0,4),".",StringSubstr(str,5,2),".",StringSubstr(str,8,2)," ",StringSubstr(str,11,2),":",StringSubstr(str,14,4));
Error:
'StringSubstr' - variable expected
Pls help