![]() |
convert hex value to string |
Post Reply ![]() |
Author | |
manoj ![]() Newbie ![]() ![]() Joined: 26 October 2004 Location: India Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() Posted: 14 April 2005 at 5:33am |
hi please tell me how can i convert hex value to normal charactor string programatically e.g. want to convert in normal string pls send me pcs of code
Thanking you
Manoj Jangid |
|
![]() |
|
gshawn ![]() Senior Member ![]() Joined: 04 October 2004 Status: Offline Points: 227 |
![]() ![]() ![]() ![]() ![]() |
What language? Here is some VB code off the top of my head:
Looking at your string, it looks like it's UNICODE since every other byte is 00 so you'll probably want to handle that too... a simple Replace(1, strArray, ",00", "") might do the trick if you have no way to change the format of the hex character string. Hope this helps! |
|
![]() |
|
manoj ![]() Newbie ![]() ![]() Joined: 26 October 2004 Location: India Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() |
I need a c++ code and in above code spaces is trucated if i use replace method.
Thanking you |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |