Created
February 6, 2012 21:05
-
-
Save abeaumont/1754863 to your computer and use it in GitHub Desktop.
split bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module: split-test | |
define function main(name, arguments) | |
format-out("%d %d\n", | |
size(split("a b c ", " ", remove-if-empty: #f)), | |
size(split("a b c ", " ", remove-if-empty: #t))); | |
exit-application(0); | |
end function main; | |
main(application-name(), application-arguments()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result: