Azteroth Posted May 30, 2008 Share Posted May 30, 2008 how do I format a string thats like this: 0123456789 or 1234567891 if the first number is 0 then take that number off if not but make it like this... 123 456 789 or 1 234 567 891 how do I get this effect? Link to comment https://forums.phpfreaks.com/topic/107906-format-string/ Share on other sites More sharing options...
AndyB Posted May 30, 2008 Share Posted May 30, 2008 http://ca.php.net/manual/en/function.number-format.php Link to comment https://forums.phpfreaks.com/topic/107906-format-string/#findComment-553126 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.