2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,7 +1,2 @@
|
|||
let rec split_char sep str =
|
||||
try
|
||||
let i = String.index str sep in
|
||||
String.sub str 0 i ::
|
||||
split_char sep (String.sub str (i+1) (String.length str - i - 1))
|
||||
with Not_found ->
|
||||
[str]
|
||||
let words = String.split_on_char ',' "Hello,How,Are,You,Today" in
|
||||
String.concat "." words
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue