<?php $str = '123456789'; echo substr($str, -9, 3) . "." . substr($str, -6, 3) . "." . substr($str, -3, 3);
You have javascript disabled. You will not be able to edit any code.