Sir,
To my experience, the string.indexof function is case sensitive. I need it
to be case insensitive, how should I achieve this?
Kind regards
Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.comUse toLower() on all strings concerned.
"Guoqi Zheng" <no@.sorry.nl> wrote in message
news:ezCrd2YZEHA.524@.TK2MSFTNGP09.phx.gbl...
> Sir,
> To my experience, the string.indexof function is case sensitive. I need it
> to be case insensitive, how should I achieve this?
> --
> Kind regards
> Guoqi Zheng
> guoqi AT meetholland dot com
> Http://www.meetholland.com
>
>
Have you tried looking into IndexOfAny and passing both the upper case and
lower case character?
Hope this helps.
"Guoqi Zheng" <no@.sorry.nl> wrote in message
news:ezCrd2YZEHA.524@.TK2MSFTNGP09.phx.gbl...
> Sir,
> To my experience, the string.indexof function is case sensitive. I need it
> to be case insensitive, how should I achieve this?
> --
> Kind regards
> Guoqi Zheng
> guoqi AT meetholland dot com
> Http://www.meetholland.com
>
>
wait!.. User string.ToUpper() instead...
Just kidding!.
Dale
"Josh" <someone@.microsoft.com> wrote in message
news:e4vyMpZZEHA.4032@.TK2MSFTNGP11.phx.gbl...
> Use toLower() on all strings concerned.
> "Guoqi Zheng" <no@.sorry.nl> wrote in message
> news:ezCrd2YZEHA.524@.TK2MSFTNGP09.phx.gbl...
it
>
Wednesday, March 28, 2012
string.indexof case insensitive
Labels:
achieve,
asp,
case,
experience,
function,
indexof,
insensitive,
itto,
net,
regardsguoqi,
sensitive,
sir,
string,
stringindexof,
thiskind
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment