• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

basic text manipulation

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
andieje
Asked:
andieje
1 Solution
 
snow_moonCommented:
 If p.ToUpper.StartsWith(prefixText.ToUpper) Then
...
0
 
andiejeAuthor Commented:
sorry for being so thick -its what happens to your brain at 4am

thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now