Folks
I am trying to input the characters of a string into an array. The array
needs to hold strings, so I need to convert the characters into strings and
then input them into the array. I run into a dereferencing error
StringBuffer buffy = new StringBuffer(strEntered);
for( i = 0; i < buffy.length(); i++ )
strTemp = (buffy.charAt( i ).toString); //throw dereferencing error in
compile
arrayEntered[ i ] = strTemp
Tried this a number of ways '(buffy.charAt( i ).toString); ' but either
throws exception or compiler cannot understand
Any suggestions would be appreciated.
Thanks
Harry