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