i have this string SD125,SD478-SD478 SD147
i need to separate,but i need to know which delimeter i use becouse i did this
StringTokenizer sd = new StringTokenizer(fileStringSD, ", -");
while (sd.hasMoreTokens())
{
String cad = sd.nextToken();
system.out.printl (cad);
}
it separetes and i get
SD125
SD478
SDSD147
THE TROUBLE COMES WHEN I WANT TO GET TOGETHER THE STRING BECOUSE I DONT KNOW BY WHAT DELIMITER I SEPARATED THE STRING