Tokenize a string: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
(add bqn) |
||
Line 1,192: | Line 1,192: | ||
>tokenize.cmd "Hello,How,Are,You,Today" |
>tokenize.cmd "Hello,How,Are,You,Today" |
||
Hello.How.Are.You.Today |
Hello.How.Are.You.Today |
||
=={{header|BQN}}== |
|||
Uses a splitting idiom from bqncrate. |
|||
<syntaxhighlight lang="bqn"> Split←((⊢-˜+`׬)∘=⊔⊢) |
|||
(⊢-˜+`׬)∘=⊔⊢ |
|||
∾⟜'.'⊸∾´','Split"Hello,How,Are,You,Today" |
|||
"Hello.How.Are.You.Today"</syntaxhighlight> |
|||
=={{header|Bracmat}}== |
=={{header|Bracmat}}== |