Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
9
Task/Multisplit/NewLISP/multisplit.l
Normal file
9
Task/Multisplit/NewLISP/multisplit.l
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(define (multi-split str seps)
|
||||
(let (parsed
|
||||
(find-all
|
||||
(string {((.*?)(} (join (map string seps) "|") {))|(.+)$})
|
||||
str
|
||||
(if (= "" $3) (list $4) (list $2 $3))))
|
||||
(list parsed (map first parsed))))
|
||||
|
||||
(multi-split "a!===b=!=c" '(== != =))
|
||||
2
Task/Multisplit/PascalABC.NET/multisplit.pas
Normal file
2
Task/Multisplit/PascalABC.NET/multisplit.pas
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// Multisplit. Nigel Galloway: August 16th., 2024
|
||||
## print('a!===b=!=c'.Split(|'==','!=','='|,System.StringSplitOptions.None))
|
||||
Loading…
Add table
Add a link
Reference in a new issue