String manipulation

I

Ibrahim

Hi,
I am reading a csv file (comma separated values) by reading each line into a
string and then using the split method to break it apart. I am running into
a problem when the comma separated values contain super script text like the
Trade Mark initials that are part of the text of the sparated values. Visual
Studio 2005, shows the initials TM as a box within the string. I am comparing
the strings from the csv file to database entries which actually contain the
TM as super script letters within the text. How can i make the comparison
work. I used String.Compare with StringComparison.Ordinal but it does not
work. What do i need to do to get to work?
 
K

Kevin Spencer

There is no such thing as superscript in text. Text is pure text, without
formatting. So, it's hard to understand exactly what your problem is.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top