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 );
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (407 votes). Check out past polls.