mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
add link with explanation of grapheme
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
e1e084a68d
commit
789586f545
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user