On Thu, 27 Sep 2001, GRANATA ROBERTA wrote:

> I have a string for ex.  $string ='roberta';
>                     or   $string  ='1roby';

You don't need a regular expression to do that.  You can use the substr
function instead:

$str2 = substr $string, 1;

This should put everything from position 1 to the end of the string (the
first charcater is position 0) into $str2.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
If only you had a personality instead of an attitude.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to