in reply to Re: accessing a part of a string
in thread accessing a part of a string
substr( $string, 0, length($string) - 6 );
can also be written as
substr( $string, 0, -6 );
In Section
Seekers of Perl Wisdom
in reply to Re: accessing a part of a string
in thread accessing a part of a string
substr( $string, 0, length($string) - 6 );
can also be written as
substr( $string, 0, -6 );