Jump to content

Tokenize a string: Difference between revisions

m
m (→‎[[Java]]: added a "." to fully comply with the specification)
Line 60:
 
print '.'.join("Hello,How,Are,You,Today".split(','))
 
Or replace the '.' with '\n' and do:
 
print "\n".join("Hello,How,Are,You,Today".split(','))
 
==[[Ruby]]==
79

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.