Assume this scenario:
ls_entry = "http://*/*campaign*"
ls_currentwebpage = "http://adnea.com/thiswaytohell.campaign.com"
I'm having a hard time coming up with a good solution to compare ls_currentwebpage with ls_entry. ls_currentwebpage is technically equal to ls_entry because of the wildcards.
But if say ls_currentwebpage was "http://thiswaytohell.campaign.com", it won't be equal because the first wildcard ie the one right after 'http://' doesn't have anything to match up with ls_currentwebpage.
I'm having problems figuring out how to go about solving this. Ideas?
ls_entry = "http://*/*campaign*"
ls_currentwebpage = "http://adnea.com/thiswaytohell.campaign.com"
I'm having a hard time coming up with a good solution to compare ls_currentwebpage with ls_entry. ls_currentwebpage is technically equal to ls_entry because of the wildcards.
But if say ls_currentwebpage was "http://thiswaytohell.campaign.com", it won't be equal because the first wildcard ie the one right after 'http://' doesn't have anything to match up with ls_currentwebpage.
I'm having problems figuring out how to go about solving this. Ideas?