aspose file tools*
The moose likes JDBC and the fly likes How to unstring the value separated by comma?. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to unstring the value separated by comma?." Watch "How to unstring the value separated by comma?." New topic
Author

How to unstring the value separated by comma?.

Deepa Balasubramanayam
Ranch Hand

Joined: Mar 29, 2001
Posts: 39
Hi,
I am working on a page that does job search.
I have created a textbox and search button. Following is my questions.
1)If the user enters the skills like JAVA,JAVASCRIPT,C++ etc in the textbox how to unstring the skills ?.
2)The user might enter 2 skills or 3 skills or n number of skills separated by comma.How to build the where clause dynamically?.

------------------
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Use the StringTokenizer class.
------------------
Moderator of the JDBC Forum


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Deepa Balasubramanayam
Ranch Hand

Joined: Mar 29, 2001
Posts: 39
Thanks Paul
 
jQuery in Action, 2nd edition
 
subject: How to unstring the value separated by comma?.