hi
string p = "0123456789"; string q = StringSubstr(p,0,StringLen(p)-4);
paul selvan:
hi
Very Helpful ! Thanks
https://www.mql5.com/en/forum/262621#comment_7975173

How can i remove specific letters from a string?
- 2018.07.03
- www.mql5.com
Hi, please someone can help me to remove letters from words in a string ? thanks for any help...

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
for example we have different strings:
1- "abcd abcde efg"
2- "abcd 123 efg jkl"
3- "abcd 456 tuv 567"
....
..
.
I want to remove last 4 characters .
There is no useful function here https://docs.mql4.com/strings . and can't use "StringReplace" because the last 4 character are not fixed. how should I do this?
Thanks for help