Code: Select all
Split | some | text 2002 | but it does not work
Code: Select all
some
text 2002
I'm using this here:
Code: Select all
RegExMatch(MyStr, "\s\|\s(.*)\s\|\s", MyOut)
MsgBox, % MyOut
Thanks.
Code: Select all
Split | some | text 2002 | but it does not work
Code: Select all
some
text 2002
Code: Select all
RegExMatch(MyStr, "\s\|\s(.*)\s\|\s", MyOut)
MsgBox, % MyOut
Code: Select all
str = Split | some | text 2002 | but it does not work
arr := StrSplit(str, " | ")
SendInput % arr.2 "`n" arr.3
Code: Select all
str = Split | some | text 2002 | but it does not work
RegExMatch(str, "([^|]+)\|([^|]+)\|([^|]+)\|([^|]+)", arr)
SendInput % arr2 "`n" arr3
Code: Select all
str = Split | some | text 2002 | but it does not work
RegExMatch(str, "\|(.+)\|", m)
SendInput % StrReplace(Trim(m1), " | ", "`n")