> I'm developing a little aplication for Palm. Now I'm facing a little 
> problem. I have to convert a string in to a hex and I don't now how.
> The string would be like this:"FF A1 23 D2 5E....". First I have to take 
> out all of the spaces. I tried to use StrCopy but I got no sucess. After 
> taking the space I sould convert it into hex. The convertion sould be 2 
> by 2 so the return would be something like this:"255 161 35 210 
> 94..."(without the spaces). I would be verry glad if some one could help 
> me.

StrPrintF(str, "%02x", byte);

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to