Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

format text 1

Status
Not open for further replies.

yama

Programmer
Jun 28, 2001
69
SG
Hi,
I have got a paragraph of words that i retrieve from my database, I wanted to convert this paragraph to a single sentence, for example, i got
ABCD
EFGH
IJKL from my database into a String call first, then I like to reorganise the paragraph into ABCD EFGH IJKL and put in into String second, anyone has any idea on how to do this using JSP codes?
thx!
 
You could use the
Code:
StringTokenizer
class to parse your first
Code:
String
and create the second
Code:
String
from the parsed tokens. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top