Hi Chris,
I think this would be quite usefull for PHP (and C too BTW).
Derick
On Mon, 9 Apr 2001, Chris Newbill wrote:
> Just curious to see if anybody else would see the usefulness of having a
> masking print function? I dunno maybe call it mprint().
>
> Where I could pass my mask, my value and optionally the mask char,
> defaulting to something off I guess like "~".
>
> mprint ( mask , value [, mask_char])
>
> So I could
>
> $str = mprint("(XXX) XXX.XXXX", "4064498056", "X");
> print $str;
>
> and would get
>
> (406) 449.8056
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]