Code: Select all
Loop Parse, txt, `n, `r
noDupes .= InStr(noDupes, "*" StrSplit(A_LoopField, "*")[5] "*") ? ""
: (noDupes = "" ? "" : "`n") A_LoopField
MsgBox 0, Result, % noDupes
Code: Select all
Loop Parse, txt, `n, `r
noDupes .= InStr(noDupes, "*" StrSplit(A_LoopField, "*")[5] "*") ? ""
: (noDupes = "" ? "" : "`n") A_LoopField
MsgBox 0, Result, % noDupes
I would have spent hours and come up with a complicated solution, when all I had to do was change
Code: Select all
IfNotInString, NoDuplicates, %OutputArray5%
Code: Select all
IfNotInString, NoDuplicates, *%OutputArray5%*
Fantastic, exactly what I meant. 2 lines of code that work no matter how many loops.mikeyww wrote: ↑23 Jan 2024, 10:20Are you trying to say that
Code: Select all
numB := 2 * A_Index numA := numB - 1
thanks, that workedjust me wrote: ↑04 Dec 2023, 06:53Might be enough to change the parameter type to WStr:Code: Select all
, DllCall("ole32\CLSIDFromString", "WStr",FOLDERID, "Ptr",&CLSID)