Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

plz help me

843838Jan 23 2006 — edited Jan 23 2006
On click of OK, run a check to make sure the string only contains Alphabets and numbers, and format the string according.

For example In the text filed, the input string is, �Hello%Wor;ld�,Piano!!!!!!!! � Hi5 &*^%# �

You must split the string into tokens with with the following results
�Hello%Wor;ld�
�,Piano!!!!!!!�
� Hi5 &*^%# �


The next step will be to remove all special characters and extra blank spaces in the tokens to become :
�HelloWorld�
�Piano�
�Hi5�

formatted string* : Show as �HelloWorld�, �Piano�, �Hi5�


How can solve thesw types of things.plz give me code
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2006
Added on Jan 23 2006
3 comments
72 views