|
-
Nov 14th, 2002, 02:12 PM
#1
Thread Starter
Member
comparing strings[resolved]
When comparing strings, in an "if" statement, is there a way to make it not case sensitive?
-tony
Last edited by tony_geekrant; Nov 14th, 2002 at 02:15 PM.
-
Nov 14th, 2002, 02:14 PM
#2
Frenzied Member
Wrap each string in lcase() or ucase().
seoptimizer2001
VB 6.0, VC++, VI, ASP, JavaScript, HTML,
Perl, XML, SQL Server 2000
If God had intended us to drink beer, He would have given us stomachs.
Please use the [code] and [vbcode] tags in your posts!
If you don't know how to use them please go HERE!

-
Nov 14th, 2002, 02:14 PM
#3
Thread Starter
Member
I'm sorry i'm retarted, i can jsut convert them all to lowercase in the comparison. My appologies if you wasted your time reading this.
-tony
-
Nov 14th, 2002, 02:15 PM
#4
Thread Starter
Member
Thanks, clearly, i'm also slow.
-
Nov 14th, 2002, 02:15 PM
#5
Frenzied Member
seoptimizer2001
VB 6.0, VC++, VI, ASP, JavaScript, HTML,
Perl, XML, SQL Server 2000
If God had intended us to drink beer, He would have given us stomachs.
Please use the [code] and [vbcode] tags in your posts!
If you don't know how to use them please go HERE!

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|