Tokenize a string: Difference between revisions
Content added Content deleted
(Undo revision 9239 by Special:Contributions/59.25.30.250 (User talk:59.25.30.250)) |
|||
Line 194: | Line 194: | ||
alert( "Hello,How,Are,You,Today".split(",").join(".") ); |
alert( "Hello,How,Are,You,Today".split(",").join(".") ); |
||
==[[MAXScript]]== |
|||
[[Category:MAXScript]] |
|||
output = "" |
|||
for word in (filterString "Hello,How,Are,You,Today" ",") do |
|||
( |
|||
output += (word + ".") |
|||
) |
|||
format "%\n" output |
|||
==[[Perl]]== |
==[[Perl]]== |