Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lua Code Golf Challenge: Explode
- Players: TheWaffle(WaffleGOd), immibis, prohs, Super_Random, and Yevano
- Time Start: 2/15/11 8:00 EST
- Time End: 2/15/11 8:30 EST
- Challenge Description:
- Allow the user to input a string. On separate lines, output each string that is separated by white space. This must also work for multiple white space characters. White space characters include space, tab, and newline. Loop through the input and output phases until blank input is given. (the user presses enter without entering any input)
- Example:
- Hello, this is a sentence. anskf asfa asf asf oepj
- Hello,
- this
- is
- a
- sentence.
- anskf
- asfa
- asf
- asf
- oepj
- Good luck!
Advertisement
Add Comment
Please, Sign In to add comment