Hello George,

Wednesday, January 25, 2006, 1:23:41 PM, you wrote:

GH> Hi,

GH> I am very new in RegEx and I want to be able to write an expresion that 
does 
GH> the following:

GH> Return all the characters from a string starting from the 5-th character.

GH> Given:
GH> Linz_Untauglich Dr.

GH> Result:
GH> Untauglich Dr.

GH> Thanks,
GH> George. 


Please, use this example:

---start---
$str = "Linz_Untauglich Dr.";
$str =~ s/^.{5}//;

print "$str";
---finish---


Result: text "Untauglich Dr." is printed

-- 
Best regards,
 Dmitry Motevich                            mailto:[EMAIL PROTECTED]
 Address: Minsk/Belarus


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to