Jump to content

Tokenize a string: Difference between revisions

Logo
No edit summary
(Logo)
Line 308:
 
alert( "Hello,How,Are,You,Today".split(",").join(".") );
 
=={{header|Logo}}==
{{works with|UCB Logo}}
to split :str :sep
output parse map [ifelse ? = :sep ["| |] [?]] :str
end
? show split "Hello,How,Are,You,Today ",
[Hello How Are You Today]
 
=={{header|MAXScript}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.