Thanx for the help yesterday..I was able to break down the string from my database:
('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX')
using:
String strInput = userData.getMhtCityList();
String strProcess=null;
String strOutputs[]=null;
if(strInput!=null){
strProcess=strInput.substring(1,strInput.length()-1);
System.out.println(strProcess);
strOutputs=strProcess.split("\\'\\),\\(\\'");
}
worked like a charm
only problem now is those damn apostophies
'MCKINNEY','TX
ALLEN','TX
ANNA','TX'
any suggestions on stripping out the apostrophies out the array?
thanx