just wondering how to match a string.. i want to see if something like "*.shawcable.net" matches ":freedumb!hi@blah.shawcable.net".. and i have no clue how to do it. any help will be really appreciated. thanks. :)
Posted on 2001-10-02 16:03:11 by freedumb
freedumb,

What you are after is string search capacity, there will be others around but I have over the last few months posted a set of Boyer Moore search algos and a newer version of InString.

If you need the search to be case insensitive, you can convert both the source and the pattern being searched for to either upper or lower case and then do the search.

Regards,

hutch@pbq.com.au
Posted on 2001-10-02 17:35:15 by hutch--