$string = "1test"; $string =~ s/.//;
print $string; HTH John -----Original Message----- From: GRANATA ROBERTA [mailto:[EMAIL PROTECTED]] Sent: 27 September 2001 14:14 To: [EMAIL PROTECTED] Subject: Delete the first char of a string with one pattern matching --- Erhalten von ZBM.ZAGTA 089/32000-414 27-09-01 14.14 Hi all, I have a string for ex. $string ='roberta'; or $string ='1roby'; With a regular expression i want to delete the first char of this string. Can sombody help me to write it? Thanks in advance Roberta ---- 27-09-01 14.14 ---- Gesendet an ------------------------------------ -> beginners(A)perl.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------Confidentiality--------------------------. This E-mail is confidential. It should not be read, copied, disclosed or used by any person other than the intended recipient. Unauthorised use, disclosure or copying by whatever medium is strictly prohibited and may be unlawful. If you have received this E-mail in error please contact the sender immediately and delete the E-mail from your system. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
