Remove all space characters (tab, newline, etc) from given string

string:remove_all_spaces(STRING $str) : STRING

string:remove_all_spaces(' foo   foo')
#=> "foofoo"

string:remove_all_spaces("\t\nfoo\t\n  foo   foo")
#=> "foofoofoo"

Copyright ©2013-2022 SunSed®. All rights reserved.