Re: input string characters into an array

From: Amey Samant (ameyas7_at_yahoo.com)
Date: 10/01/03


Date: 30 Sep 2003 21:05:01 -0700

hi Harry
sorry my previous post was incomplete ....
use wrapper classes

Character ch;
for(i=0;i<strEntrd.length();i++)
{
   ch=new Character(strEntrd.charAt(i));
   arrEntrd[i]=ch.toString();
}

or on-the-fly like

for(i=0;i<strEntrd.length();i++)
{
   arrEntrd[i]=(new Character(strEntrd.charAt(i))).toString();
}

this should do the job