Re: input string characters into an array
From: Amey Samant (ameyas7_at_yahoo.com)
Date: 10/01/03
- Next message: Adrian Lumsden: "Problem with java.awt.Robot and screen capture/refresh"
- Previous message: Amey Samant: "Re: input string characters into an array"
- Maybe in reply to: Amey Samant: "Re: input string characters into an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Adrian Lumsden: "Problem with java.awt.Robot and screen capture/refresh"
- Previous message: Amey Samant: "Re: input string characters into an array"
- Maybe in reply to: Amey Samant: "Re: input string characters into an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]