Tokenize a string: Difference between revisions

Line 500:
copy(v.begin(), v.end(), std::ostream_iterator<std::string>(std::cout, "."))
std::cout << '\n';
}</lang>
 
=={{header|Ceylon}}==
{{works with|Ceylon 1.2}}
<lang ceylon>shared void tokenizeAString() {
value input = "Hello,How,Are,You,Today";
value tokens = input.split(','.equals);
print(".".join(tokens));
}</lang>
 
Anonymous user