Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have the string ASE000018A2ZEWU,ASE000018A2ZWWU,ASE000117AWERWU.

I need it to be converted to a final String ASE000018|A2ZE,ASE000018|A2ZW,ASE000117AWER

I need to remove last 2 characters 'WU' from each part and I need to add the delimiter '|' after every 9 letters in each part like "ASE000018A2ZEWU" need to be converted to ASE000018|A2ZE.

Please me help me out
Posted
Updated 10-Jul-14 10:41am
v2
Comments
Sergey Alexandrovich Kryukov 10-Jul-14 16:43pm    
Help with what? Did you face any problem yet?
—SA

1 solution

All your answers are here: http://docs.oracle.com/javase/6/docs/api/java/lang/String.html[^].

You need to do at least the minimal effort and ask questions only if you face real problems.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900