in reply to Re: Remove unicode "whitespace"
in thread Remove unicode "whitespace"
You're right that it is the LRM character, and so shouldn't be stripped in general (so it's sensible that it doesn't match \s). But it is useless at the end of a string, hence my suggestion that it should be considered something like whitespace in that context. I hoped there might be a function to trim the end of strings for this specific purpose. Or if not, something generic I could add to a RE to strip unicode characters of this nature.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Remove unicode "whitespace"
by Khen1950fx (Canon) on Feb 28, 2013 at 16:11 UTC | |
by HYanWong (Acolyte) on Mar 01, 2013 at 01:44 UTC |