Typo: "seperator" -> "separator".

This commit is contained in:
Bob Nystrom
2017-03-15 07:06:07 -07:00
parent 9fcdf3dc0a
commit 9efb18bae2

View File

@ -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)