After you download the text file please run this code. It is not removing duplicates because of hidden text, is there a way to clean a text file before running sort?
Code: Select all
FileRead, t, ahktestfile.txt
sort, t, U
msgbox, % t
ExitApp
Code: Select all
FileRead, t, ahktestfile.txt
sort, t, U
msgbox, % t
ExitApp
Code: Select all
FileRead, t, ahktestfile.txt
t := StrReplace(t, "`r", "`n")
sort, t, U
msgbox, % t
ExitApp
Code: Select all
FileRead, t, *t ahktestfile.txt
Users browsing this forum: Araphen, Descolada, Oblomov228 and 170 guests