![]() ![]() ![]() PHP substr() function with negative offset Therefore, the substr() returns a substring, starting at index 4 to the end of the input string. In this example, we omit the $length argument. The following example uses the substr() function to extract a substring from the 'PHP substring' string starting from the index 4 to the end of the string:
0 Comments
Leave a Reply. |