]> gitweb.factorcode.org Git - factor.git/commitdiff
splitting: fix docs for string-lines.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 14 Mar 2016 03:02:09 +0000 (20:02 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 14 Mar 2016 03:02:09 +0000 (20:02 -0700)
core/splitting/splitting-docs.factor

index 5edadbbdae977986f44905051963c1933bc7b9cd..b0bc88b17b5822f84b3b1efea7c6d317f03fdf48 100644 (file)
@@ -96,7 +96,7 @@ HELP: string-lines
 { $values { "str" string } { "seq" "a sequence of strings" } }
 { $description "Splits a string along line breaks." }
 { $examples
-    { $example "USING: prettyprint splitting ;" "\"Hello\\r\\nworld\\n\" string-lines ." "{ \"Hello\" \"world\" \"\" }" }
+    { $example "USING: prettyprint splitting ;" "\"Hello\\r\\nworld\\n\" string-lines ." "{ \"Hello\" \"world\" }" }
 } ;
 
 HELP: replace