What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Space words out in JAVA?

Space words out in JAVA?
Author: Message:
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. Undecided  Space words out in JAVA?
hey guys I'm searching for a way to actually justify a text by coding it.

what i did until now is find how many caracters are written.. then i got 80 which is the maximum there should be and did

80 - number of caracthers present
replaced all ponctuation by spaces
trimmed the string so no spaces are before or after text
counted how many spaces
divided numbers of spaces left by the number of spaces there is

now i just want to know how i could add spaces between the words.
I can't seem to find a way..

:S
12-10-2006 01:36 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Space words out in JAVA? - by albert on 12-10-2006 at 01:36 AM
RE: Space words out in JAVA? - by foaly on 12-10-2006 at 04:05 PM
RE: Space words out in JAVA? - by RaceProUK on 12-10-2006 at 07:24 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On