Hello,

I would probably use, e.g., `regexp-substitute/global' as Linas
suggested.  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."

Thanks,
Ludo'.



Reply via email to