add link with explanation of grapheme

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-10-15 09:17:08 +02:00 committed by GitHub
parent e1e084a68d
commit 789586f545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ joinWith : List Str, Str -> Str
## Split a [Str] around a separator. Passing `""` for the separator is not ## Split a [Str] around a separator. Passing `""` for the separator is not
## useful; it returns the original string wrapped in a list. To split a string ## useful; it returns the original string wrapped in a list. To split a string
## into its individual graphemes, use `Str.graphemes` ## into its individual [graphemes](https://stackoverflow.com/a/27331885/4200103), use `Str.graphemes`
## ##
## expect Str.split "1,2,3" "," == ["1","2","3"] ## expect Str.split "1,2,3" "," == ["1","2","3"]
## expect Str.split "1,2,3" "" == ["1,2,3"] ## expect Str.split "1,2,3" "" == ["1,2,3"]