From 9efb18bae2da1d1f5cdefe1b2dbdb9f8a487e760 Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Wed, 15 Mar 2017 07:06:07 -0700 Subject: [PATCH] Typo: "seperator" -> "separator". --- doc/site/modules/core/string.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)