1
Reply

string to integer conversion problem

jeevan mummadi

jeevan mummadi

Apr 11 2008 6:19 AM
2.9k

 
 

      

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)