View Single Post
06/29/23, 06:50 PM   #10
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 660
Code:
  local searchByWords = zo_strgmatch(searchText, '%S+')
  for theWord in searchByWords do
    <<do stuff>>
  end
You can use zo_strgmatch() or string.gmatch() as an iterator.

Last edited by Sharlikran : 06/29/23 at 06:57 PM.
  Reply With Quote