mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
Linkify a list mention in Str docs
This commit is contained in:
parent
d814ed3c27
commit
3f8829e310
@ -165,7 +165,7 @@ joinWith : List Str, Str -> Str
|
|||||||
## Split a string around a separator.
|
## Split a string around a separator.
|
||||||
##
|
##
|
||||||
## Passing `""` for the separator is not useful;
|
## Passing `""` for the separator is not useful;
|
||||||
## it returns the original string wrapped in a list. To split a string
|
## it returns the original string wrapped in a [List]. To split a string
|
||||||
## into its individual [graphemes](https://stackoverflow.com/a/27331885/4200103), 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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user