Quoth l...@gnu.org (Ludovic Courtès):
> Otherwise, you could try using SRFI-13 as well if it's enough
> (consecutive spaces are coalesced here):
>
>   (string-join (string-tokenize "hello, world.") " ")
>   => "hello, world."

I need to only replace two consecutive spaces.  Also string-tokenize (in
guile-1.8) doesn't like unicode strings...  I have my answer - regexps,
although sledgehammers and nuts come to mind.

I remember reading that work is currently underway to implement wide
string handling in Guile.  Any idea when it might make it into a stable
release?

Seb
-- 
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap



Reply via email to