[Israel.pm] how do i cut the first 2 characters/digits of astring?
Shlomi Fish
shlomif at iglu.org.il
Thu Jul 15 03:55:46 PDT 2004
On Thursday 15 July 2004 12:17, Ernst, Yehuda wrote:
> sory i did not know about the starter list
>
> how do i join it?
>
Follow the link that Gabor gave you:
http://perl.org.il/mailman/listinfo/starter
Regards,
Shlomi Fish
> -----Original Message-----
> From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il]On Behalf
> Of Gabor Szabo Sent: Thursday, July 15, 2004 12:11 PM
> To: Perl in Israel
> Subject: Re: [Israel.pm] how do i cut the first 2 characters/digits of
> astring?
>
>
>
> print substr($str,0,2) will get you the 2 chars
> substr($str,0,2,"") will remove the first two chars.
>
>
> Yehuda, a few notes:
> - It might be better to write your questions in the body of the e-mail and
> not the subject line. Use the subject line only for general idea what is
> your mail about.
>
> - This question (and the previous one you had)
> could perfectly fit to the starter list too
>
> http://perl.org.il/mailman/listinfo/starter
>
> Your are welcome to post such questions there.
>
>
> Gabor
>
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
> ***************************************************************************
>******** Information contained in this email message is intended only for
> use of the individual or entity named above. If the reader of this message
> is not the intended recipient, or the employee or agent responsible to
> deliver it to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this communication in error, please
> immediately notify the postmaster at nds.com and destroy the original message.
> ***************************************************************************
>********
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
--
---------------------------------------------------------------------
Shlomi Fish shlomif at iglu.org.il
Homepage: http://shlomif.il.eu.org/
Knuth is not God! It took him two days to build the Roman Empire.
More information about the Perl
mailing list