On Tuesday 13 January 2004 23:27, Cameron B. Prince wrote:
> Ok, I feel really lame for asking this, but I can I do this in PHP:
>
> $userid =~ /([\D]+)/;
> $baseName = $1;
>
> It seems like "Pattern Capture" is not the right term for the similar
> function in PHP. I'm not sure what to search for.
> Ok, I feel really lame for asking this, but I can I do this in PHP:
> $userid =~ /([\D]+)/;
> $baseName = $1;
> It seems like "Pattern Capture" is not the right term for the similar
> function in PHP. I'm not sure what to search for.
Look at the third argument for the preg_match() function. I b
Ok, I feel really lame for asking this, but I can I do this in PHP:
$userid =~ /([\D]+)/;
$baseName = $1;
It seems like "Pattern Capture" is not the right term for the similar
function in PHP. I'm not sure what to search for.
Thanks,
Cameron
--
PHP General Mailing List (http://www.php.net/)
To
3 matches
Mail list logo