Solved

basic text manipulation

Posted on 2007-03-27
2
208 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 68
Visual Studio 2013 Shortcut (VB) 4 45
Sql server insert 13 26
Get number of Files in Directory and Sub Directories 2 39
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

11 Experts available now in Live!

Get 1:1 Help Now