mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
Typo: "seperator" -> "separator".
This commit is contained in:
@ -129,15 +129,15 @@ negative to count backwards from the end of the string.
|
||||
It is a runtime error if `search` is not a string or `start` is not an integer
|
||||
index within the string's byte length.
|
||||
|
||||
### **split**(seperator)
|
||||
### **split**(separator)
|
||||
|
||||
Returns a list of one or more strings seperated by `seperator`.
|
||||
Returns a list of one or more strings separated by `separator`.
|
||||
|
||||
:::wren
|
||||
var string = "abc abc abc"
|
||||
System.print(string.split(" ")) //> [abc, abc, abc]
|
||||
|
||||
It is a runtime error if `seperator` is not a string or is an empty string.
|
||||
It is a runtime error if `separator` is not a string or is an empty string.
|
||||
|
||||
### **replace**(old, swap)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user