1
Answer

string to integer conversion problem

jeevan mummadi

jeevan mummadi

16y
2.9k
1

 
 

      

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)