Help with TF_find
Posted: 18 May 2022, 16:41
Hello guys! Im trying to use the TF_find from the TF: Textfile & String Library for AutoHotkey https://github.com/hi5/TF
I need to know which is the number line of a specific string in a text file
In the following test I need it to say "2". But it keeps show 0 as result.. what im getting wrong?
[Mod edit: [code][/code] tags added.]
I need to know which is the number line of a specific string in a text file
In the following test I need it to say "2". But it keeps show 0 as result.. what im getting wrong?
Code: Select all
numpad4::
list=
(
1,17/05/22 15:49,+55 31 9443-6698
2,17/05/22 17:03,+55 22 98122-3378
2,17/05/22 16:56,+55 31 7575-6785
)
SearchText:="+55 22 98122-3378"
MsgBox % TF_Find(list, 1, 0, SearchText, 1, 0)
return