?php $rest = substr( "abcdef", 0, -1); / / returns "abcde "$rest = substr("abcdef", 2, -1); / / returns "cde" $rest = substr("abcdef", 4, -4); / / returns "" $rest = substr("abcdef", -3, -1); / / returns "de "?
?php $rest = substr( "abcdef", 0, -1); / / retourne "abcde "$rest = substr("abcdef", 2, -1); / / retourne "cde" $rest = substr("abcdef", 4, -4); / / retourne "" $rest = substr("abcdef", -3, -1); / / retourne "de "?