Solved

string manipulation

Posted on 2006-10-25
6
103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 86

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 63

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 63

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 63

Expert Comment

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

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to repeat the data 4 41
Create a Dropdown list with sub group 10 39
VB.net Excel VSTO Add-in version compatability 2 34
Excel Web Add-in Where is Visual Basic used 9 69
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 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