On Wed, Nov 2, 2016 at 12:29 AM, Ben Greenman
wrote:
> The trick is that 'whitespace' isn't just #\space. It's any sequence
> of whitespace characters, like "\r\r\r" or " \r\n\t"
...and this happens because the default `sep` is a regexp, not a plain
string.
--
The trick is that 'whitespace' isn't just #\space. It's any sequence of
whitespace characters, like "\r\r\r" or " \r\n\t"
On Wed, Nov 2, 2016 at 12:12 AM, wrote:
> Hi,
>
> when using the search function for the Racket-docs
> with string-trim I found:
>
> -
>
Hi,
when using the search function for the Racket-docs
with string-trim I found:
-
Trims the input str by removing prefix and suffix sep, which defaults to
whitespace. A string sep is matched literally (as opposed to being used as a
regular expression).
Use #:left? #f or
3 matches
Mail list logo