parsing quoted strings

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

parsing quoted strings

Postby waynesilver » Sat Jan 30, 2010 10:39 pm

I have a file which is made up of comma delimited quoted strings. I supprised myself, by reading the file into the application.

The problem I am having is when I use

i=searchstring.indexOf(",\"");

It causes the application to have problems. Anyone have a better way to parse quoted strings?
waynesilver
Developer
Developer
 
Posts: 28
Joined: Mon Jan 04, 2010 9:01 pm
Location: Seattle

Top

Postby qlimax » Sun Jan 31, 2010 4:18 pm

¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 7 guests