Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Multisplit/AutoHotkey/multisplit.ahk
Normal file
9
Task/Multisplit/AutoHotkey/multisplit.ahk
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Str := "a!===b=!=c"
|
||||
Sep := ["==","!=", "="]
|
||||
Res := StrSplit(Str, Sep)
|
||||
for k, v in Res
|
||||
Out .= (Out?",":"") v
|
||||
MsgBox % Out
|
||||
for k, v in Sep
|
||||
N .= (N?"|":"") "\Q" v "\E"
|
||||
MsgBox % RegExReplace(str, "(.*?)(" N ")", "$1 {$2}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue