Tokenize a string: Difference between revisions

Content added Content deleted
(Easylang)
(→‎BQN: cleanup)
Line 1,199: Line 1,199:
=={{header|BQN}}==
=={{header|BQN}}==
Uses a splitting idiom from bqncrate.
Uses a splitting idiom from bqncrate.
<syntaxhighlight lang="bqn"> Split←((⊢-˜+`׬)∘=⊔⊢)
<syntaxhighlight lang="bqn">Split (+`׬)⊸-∘= ⊔ ⊢

(⊢-˜+`׬)∘=⊔⊢
∾⟜'.'⊸∾´','Split"Hello,How,Are,You,Today"
∾⟜'.'⊸∾´ ',' Split "Hello,How,Are,You,Today"</syntaxhighlight>
{{out}}
"Hello.How.Are.You.Today"</syntaxhighlight>
<pre>"Hello.How.Are.You.Today"</pre>


=={{header|Bracmat}}==
=={{header|Bracmat}}==