We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

string manipulation

andieje
andieje asked
on
Medium Priority
134 Views
Last Modified: 2010-04-23
Hi

Is there an easy way to make the following case insensitive

 If r.StartsWith(prefixText) Then

thanks
Comment
Watch Question

Mike TomlinsonHigh School Computer Science, Computer Applications, Digital Design, and Mathematics Teacher
CERTIFIED EXPERT
Top Expert 2009
Commented:
You could use:

        If r.ToLower.StartsWith(prefixText.ToLower) Then

        End If

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Retired
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
In VB 2005 you can do it this way
 
       If r.StartsWith(prefixText, StringComparison.InvariantCultureIgnoreCase) Then

Fernando

Author

Commented:
Fernando, where have you been :)

I've totally needed you to help me with my processes again!

thanks a lot guys
andrea
Fernando SotoRetired
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
Hi andrea; I have been around. Glad to have been some help. ;=)

Author

Commented:
I need you back :)
Fernando SotoRetired
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
Need help with something?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.