RE: [PHP] String format best practice

2005-03-29 Thread Jared Williams
> > I need to output a Hex value, e.g.: > > > > 686E8AF8 > > > > In the following format: > > > > 68 6E 8A F8 > > > > In other words, separated by spaces. Now I realize there > are a million > > ways to do this, but I would like a suggestion on which you > think is > > the most efficient? Incid

Re: [PHP] String format best practice

2005-03-29 Thread Richard Lynch
On Tue, March 29, 2005 1:27 pm, René Fournier said: > I need to output a Hex value, e.g.: > > 686E8AF8 > > In the following format: > > 68 6E 8A F8 > > In other words, separated by spaces. Now I realize there are a million > ways to do this, but I would like a suggestion on which you think is > the

[PHP] String format best practice

2005-03-29 Thread René Fournier
I need to output a Hex value, e.g.: 686E8AF8 In the following format: 68 6E 8A F8 In other words, separated by spaces. Now I realize there are a million ways to do this, but I would like a suggestion on which you think is the most efficient? Incidentally, I'm starting with a decimal value (23602