Brij,
> and if user input is "A*" or "a*" or "Ap*" then it will compare equal to
> Both A and B above.
"A*" or "a*" or "Ap*" are all examples of regular expressions, have a look
at the System.Text.RegularExpressions namespace. Specifically the RegEx
class.
There are options to make the RegEx case insensitive such that A = a.
Hope this helps
Jay
"Brij Singh" <(E-Mail Removed)> wrote in message
news:3f8b00f3$0$69309$(E-Mail Removed)...
> Hi,
>
> Is there a way to compare two strings with search character
>
> like A = "Apple"
> B = "app"
>
> and if user input is "A*" or "a*" or "Ap*" then it will compare equal to
> Both A and B above.
>
>
> Thanks in advace.
>
> Brij
>
>
>
|