PHP Classes

File: examples/utils_parsemask.php

Recommend this page to a friend!
  Classes of Everton da Rosa   XtPHP   examples/utils_parsemask.php   Download  
File: examples/utils_parsemask.php
Role: Example script
Content type: text/plain
Description: Example script
Class: XtPHP
General purpose library of utility classes
Author: By
Last change:
Date: 9 years ago
Size: 255 bytes
 

Contents

Class file image Download
<?php

require '../utils.php';
echo
"<p>".XtUtils::parseMask('12.123.456/0001-99', '##.###.###/####-##')."</p>";
echo
"<p>".XtUtils::parseMask('ABC-0123', '###-####')."</p>";
echo
"<p>".XtUtils::parseMask('(055) 3210-9876', '(0##) ####-####')."</p>";

?>