To add comas in the file using java

Joined
Dec 29, 2008
Messages
1
Reaction score
0
Hi All,

This is my first question in this forum...
I have file with numeros datas(both numeric and characters) in a file
I want to delimit the file with set of delimiter length like 2,5,1,9,6 etc..

For example
if my file like this
9483trdcvge245621jde

then i need to insert commas at 2,5,1,9,6 etc..
then the output will be
94,83trd,c,vge245621,jde,

Like this i need..Pls help me to solve this issue..
Thanks in advance
 

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,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top