How to trim non-breaking space in PHP
Use this snippet:
$trim = trim($text, " \xC2\xA0\n\t\r\0\x0B");
\xC2\xA0 is non-breaking space (alt+space in mac os x)
-
emileeyou89 lubi to
-
pearcode opublikował(a) to