Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,3 @@
to split :str :sep
output parse map [ifelse ? = :sep ["| |] [?]] :str
end

View file

@ -0,0 +1,6 @@
to split :str :by [:acc []] [:w "||]
if empty? :str [output lput :w :acc]
ifelse equal? first :str :by ~
[output (split butfirst :str :by lput :w :acc)] ~
[output (split butfirst :str :by :acc lput first :str :w)]
end

View file

@ -0,0 +1,2 @@
? show split "Hello,How,Are,You,Today ",
[Hello How Are You Today]