StringFormat("%.3s",Symbol())
You can also check that page http://www.cprogramming.com/tutorial/printf-format-strings.html
I can imagine most of them, if not all, work in MQL
best regards
StringSubstr()
Demos:
exactly what I need - thank U
Punvher, u r welcome, I also updated my original reply, but hey, I would rather use what GumRai said :)
best regards

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I need to read The base currency. So I would like to read only first 3 chars of current Symbol() and paste it to the other string parameter in MQL4 code.
For example if current Symbol() is EURUSD I need to read only EUR value (first 3 characters from left).
Has anybody any idea how to resolve this little problem in simple way?
Regards,