Guest User

Untitled

a guest
Dec 16th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Rob,school,oxford,tennis
  2. James,school,cambridge,cricket
  3. lucy,college,harvard,football
  4. lily,hotel,novotel,golf
  5. ..
  6. ..
  7. ..
  8. 1 million lines.
  9.  
  10. #SingleInstance, force
  11. #Include C:UsersmpechettDesktopahktf.ahk
  12.  
  13. InputBox, Name, Search for Name
  14.  
  15.  
  16. StringSplit, word_array, Name, %A_Space%, . ; Omits periods.
  17.  
  18. pattern = %word_array1%,%word_array2%
  19.  
  20.  
  21. Outputline = % TF_Find("C:Usersmpechettexample.csv", "","", pattern, 1, 1)
  22.  
  23.  
  24. MsgBox,%Outputline%
Add Comment
Please, Sign In to add comment