Originally Posted by Sharlikran
You can't search like a squirrel on crack for the answer you seek, just the uppercase S. If you read it and see that the lowercase s is a space then the uppercase is all non spaces.
Code:
local searchByWords = zo_strgmatch(searchText, '%S+')
for theWord in searchByWords do
<<do stuff>>
end
Which is why that would return 3 words if searchText was "The Zone Name" similar to splitting the string using a space for the split.
|
well thats why it works then.. I was looking for ALL non-space characters. Thank you for the compliment though.
Thank you for the help.. I havent come across anything that states the capitol S was the reverse which IS highly useful.