I think the expectation most people would have (I certainly do) is that it 
behave identically to java.lang.String.trim() as described 
here: http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#trim(), 
so no, it most certainly should not.  Besides, HTML is just one format, 
there are many others, a base library function should not be format aware, 
otherwise, what about \space?

On Monday, August 12, 2013 7:04:36 AM UTC+10, Christian Sperandio wrote:
>
>   is closer an expression than a single character.  A regexp replace 
> should be more suitable. 
> Le 11 août 2013 22:55, "Tim Visher" <tim.v...@gmail.com <javascript:>> a 
> écrit :
>
>> Should `&nbsp;` be trimmed using `clojure.string/trim`? EOM
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>> 

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to