How to separate words from the string in JSP?

K

KK

Hello Everyone,

I want to separate the words from the string and match them one by one
from the database frontend am using is JSP.
Also, i need to do same thing with database i want to fetch the data
from database and again break in into different words so that i can
match every separated words (from client request) with every word
(separated by the database)

Can anyone help me in doing this?


Thanking You


Kartikeya
 
A

Arne Vajhøj

E

Evans

Hello Everyone,

I want to separate the words from the string and match them one by one
from the database frontend am using is JSP.
Also, i need to do same thing with database i want to fetch the data
from database and again break in into different words so that i can
match every separated words (from client request) with every word
(separated by the database)

Can anyone help me in doing this?

Thanking You

Kartikeya

Check out StringTokenizer.
Alternatively, Google 'using StringTokenizer'.
 
A

Arne Vajhøj

Check out StringTokenizer.
Alternatively, Google 'using StringTokenizer'.

SUN recommend using some of the regex based stuff
instead of StringTokenizer these days.

But it still works and I have always liked it.

Arne
 
K

KK

thanks for replying.. but can you plz tell me this in detail i did
search abt StringTokenizer but didnt get some concrete info.

pl help me in this regard


Thanking you


Kartikeya Karnatak
 

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

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top