jeevan mummadi

jeevan mummadi

  • NA
  • 157
  • 0

string to integer conversion problem

Apr 11 2008 6:19 AM

 
 

      

hello,

        i have a string likt this

        

string str1="hello";

now i need a array holding each character's value in integer format or hex value format.

 

- i have tried using str1.tochararray ,but the problem is,i read a string of data from a remote location(using sockets),and whne i receive data it will be in string format and some values will be in non ascii format ,so how can i convert each cahracter into corresponding integer or hex value


Answers (1)