I have to Store the String value in fixed char array, i tried but after storing the value char array size changed depends upon the String Value... Can Any one tell me how to fix that issue..
char[] uniqueID = new char[10];
String lUniqueID = mUniqueIdTxtFld.getText();
uniqueID = lUniqueID.toCharArray();
O/P:
lUniqueID=12D;
it show in uniqueID[1,2,D]...
But i need [1,2,D,,,,,,,,]
(ie) fixed Char array, it should not change.. Any one suggestion me what is wrong on that.
'1','2','D',0,0,0,0,0,0,0. Why would you want that? What are you trying to achieve?