Tokenize a string: Difference between revisions

Line 375:
 
=={{header|APL}}==
<lang APL> '.',⍨¨ ','(≠⊆⊢)'abc,123,X' ⍝ This[1] doesDo the split: ','(≠⊆⊢)'abc,123,X'; this[2] appendsappend the periods: '.',⍨¨
abc. 123. X. ⍝ 3 strings (char vectors), each with a period at the end.
abc. 123. X.
</lang>