[racket-dev] Are There More String Functions?

From: Tony Garnock-Jones (tonyg at ccs.neu.edu)
Date: Wed Apr 18 18:28:05 EDT 2012

On 04/18/2012 03:28 PM, Eli Barzilay wrote:
>>>   `string-normalize-spaces', which takes a string and a regexp for the
>>>   spaces, and turns all spaces into single ones.  Same principles as
>>>   above.  This one is getting a `#:trim?' keyword that says whether
>>>   spaces at the edges should be dropped (the default) or normalized.
>>>
>>>   BTW, I hate that name -- it makes the `string-' prefix looks even
>>>   uglier...  Any suggestions for a better name?

string-compress-repeats ?

Cheers,
   Tony

Posted on the dev mailing list.