And let's throw a substr solution into the mix as well :)
$n = "4744760012394122"; $r = substr($n,-4,4,"")." ".$r while $n ne "";
In reply to Re: Simple formatting question for credit card number
by tedrek
in thread Simple formatting question for credit card number
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |