Solved

string manipulation

Posted on 2006-10-25
6
101 Views
Last Modified: 2010-04-23
Hi

Is there an easy way to make the following case insensitive

 If r.StartsWith(prefixText) Then

thanks
0
Comment
Question by:andieje
  • 3
  • 2
6 Comments
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 125 total points
ID: 17805049
You could use:

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

        End If
0
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 125 total points
ID: 17805313
In VB 2005 you can do it this way
 
       If r.StartsWith(prefixText, StringComparison.InvariantCultureIgnoreCase) Then

Fernando
0
 

Author Comment

by:andieje
ID: 17811304
Fernando, where have you been :)

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

thanks a lot guys
andrea
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17811542
Hi andrea; I have been around. Glad to have been some help. ;=)
0
 

Author Comment

by:andieje
ID: 17812420
I need you back :)
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17812482
Need help with something?
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio .Net 2012 and Crystal Reports 9 67
VB.NET Repostiory Pattern 7 37
Modal Popup Extender control 1 20
Help with exporting to excel 4 27
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question