Solved

basic text manipulation

Posted on 2007-03-27
2
207 Views
Last Modified: 2010-04-23
hI

How would i make this text manipulation case insensitive

   For Each s In sites
            Dim p As String = s.Postcode

            If p.StartsWith(prefixText) Then <============
                results.Add(p)
            End If
        Next

        Return results.ToArray()

thanks a lot
andrea
0
Comment
Question by:andieje
2 Comments
 
LVL 3

Accepted Solution

by:
snow_moon earned 125 total points
ID: 18805344
 If p.ToUpper.StartsWith(prefixText.ToUpper) Then
...
0
 

Author Comment

by:andieje
ID: 18808721
sorry for being so thick -its what happens to your brain at 4am

thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now