- Jun 6, 2020
- 11,517
- 4,383
Hey,
i found this code on stackoverflow to remove whitespaces:
B4X:
I have a string like this: mysz = "name=john age=13 year=2001"; I want to remove the whitespaces in the string. I tried trim() but this removes only whitespaces before and after the whole string...
on B4A i tried this:
B4X:
but it is not working.
i found this code on stackoverflow to remove whitespaces:
B4X:
st.replaceAll("\\s","")
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
I have a string like this: mysz = "name=john age=13 year=2001"; I want to remove the whitespaces in the string. I tried trim() but this removes only whitespaces before and after the whole string...
برای دیدن تصاویر باید ثبت نام کنید
stackoverflow.comon B4A i tried this:
B4X:
Regex.Replace("\\s",New, "")
but it is not working.
برای دیدن لینک ها باید ثبت نام کنید