i need help making a wildcarding system
so far ive checked if hters a wildcard in the front, and the back. thats all i want for now
then after that, i dont know. lol. i guess if theres a wildcard in the front, get the last word (or bunch), if theres one in the back, compare the first word (or bunch), and on both sides just find the string in it
whats confusing me is:
if i have
and i type in
i say hello
do i just extract everything from the * to the end, and then, reverse the string i say (i say hello, reverse that), and compare it backwards untill the pattern string is done?
any other ideas?