diff --git a/doc/site/modules/core/string.markdown b/doc/site/modules/core/string.markdown index 7cadf8f5..8d28cb4e 100644 --- a/doc/site/modules/core/string.markdown +++ b/doc/site/modules/core/string.markdown @@ -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)