Remove last n character from string
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...
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