• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to unstring the value separated by comma?.

 
Deepa Balasubramanayam
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the StringTokenizer class.
------------------
Moderator of the JDBC Forum
 
Deepa Balasubramanayam
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!