in reply to Re: accessing a part of a stringin thread accessing a part of a string
substr( $string, 0, length($string) - 6 );
can also be written as
substr( $string, 0, -6 );
Yes, I watch meteor showers
No, I do not watch meteor showers
My meteors prefer to bathe
Results (166 votes). Check out past polls.