or this:$string = sprintf("%4s-%4s", $string);
$string = join('-', (split($string))[0..4], (split($string))[0..4]);
In reply to Re: Adding formatting to a string
by Anonymous Monk
in thread Adding formatting to a string
by Clownburner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |