Skip to content

Commit

Permalink
Fix incorrect split example result
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olof Hendig committed May 11, 2017
1 parent 72ea634 commit 69296f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Str.pod6
Expand Up @@ -324,7 +324,7 @@ Examples:
say split(<; ,>, "a;b;c,d", :kv).perl; # OUTPUT: «("a", 0, ";", "b", 0, ";", "c", 1, ",", "d")␤»
say "".split("x").perl; # OUTPUT: «("",)␤»
say "".split("x", :skip-empty).perl; # OUTPUT: «("",)␤»
say "".split("x", :skip-empty).perl; # OUTPUT: «()␤»
say "abcde".split("").perl; # OUTPUT: «("", "a", "b", "c", "d", "e", "")␤»
say "abcde".split("",:skip-empty).perl; # OUTPUT: «("a", "b", "c", "d", "e")␤»
Expand Down

0 comments on commit 69296f2

Please sign in to comment.