substr( $string, $start, $stopWhenStringLenghtIsEqualTo ); Example: echo substr( "Hello php!", 1,3 ); // Prints: "ell"