diff --git a/pkgs/racket-doc/scribblings/reference/strings.scrbl b/pkgs/racket-doc/scribblings/reference/strings.scrbl index 0712a57c4f..65e44e7b0a 100644 --- a/pkgs/racket-doc/scribblings/reference/strings.scrbl +++ b/pkgs/racket-doc/scribblings/reference/strings.scrbl @@ -497,8 +497,9 @@ replaced if @racket[all?] is @racket[#f]. [#:repeat? repeat? any/c #f]) (listof string?)]{ -Splits the input @racket[str] on whitespaces, returning a list of -substrings of @racket[str] that are separated by @racket[sep]. The +Splits the input @racket[str] on @racket[sep], returning a list of +substrings of @racket[str] that are separated by @racket[sep], defaulting +to splitting the input on whitespaces. The input is first trimmed using @racket[sep] (see @racket[string-trim]), unless @racket[trim?] is @racket[#f]. Empty matches are handled in the same way as for @racket[regexp-split]. As a special case, if