Re: Would anybody find this useful besides me?
| From: | Derick Rethans | Date: | Mon, 09 Apr 2001 20:29:46 +0000 |
| Subject: | Re: Would anybody find this useful besides me? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-51234@lists.php.net to get a copy of this message | ||
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 - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------