But InStr() can use it.
Test code:
Code: Select all
MyString=AAA,BBB,||,|CCC||,DDD
Loop Parse, MyString, `,
IfInString,%A_LoopField%,||
;if InStr(A_LoopField,"||")
Msgbox Found!
Code: Select all
MyString=AAA,BBB,||,|CCC||,DDD
Loop Parse, MyString, `,
IfInString,%A_LoopField%,||
;if InStr(A_LoopField,"||")
Msgbox Found!
oldbrother wrote:IfInstring cannot take "||" or "`|`|" as a parameter.
But InStr() can use it.
Test code:Thanks!Code: Select all
MyString=AAA,BBB,||,|CCC||,DDD Loop Parse, MyString, `, IfInString,%A_LoopField%,|| ;if InStr(A_LoopField,"||") Msgbox Found!
Code: Select all
MyString=AAA,BBB,||,|CCC||,DDD
Loop,Parse,MyString,`,
IfInString,A_LoopField,||
Msgbox Found!
var
The name of the variable whose contents will be searched for a match.