in reply to Adding formatting to a string
or this:$string = sprintf("%4s-%4s", $string);
$string = join('-', (split($string))[0..4], (split($string))[0..4]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2:Adding formatting to a string
by Roy Johnson (Monsignor) on Jun 16, 2004 at 14:53 UTC | |
by Anonymous Monk on Jun 16, 2004 at 22:12 UTC | |
by belden (Friar) on Jun 17, 2004 at 21:51 UTC |