my input mobile is 9051231223....what i want to do is get the last 10 digit of mobile number and append 0 at the beginning. can someone help me with that.. -- View this message in context: http://www.nabble.com/format-mobile-number-tp18027538p18027538.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php