Anonymous user
Tokenize a string: Difference between revisions
m
→{{header|OCaml}}
(added ocaml) |
|||
Line 290:
Str.split (Str.regexp_string sep) str</ocaml>
There is already a library function for joining:
<ocaml>String.concat sep strings</ocaml>
=={{header|Perl}}==
|