Voting

The Note You're Voting On

public at luedi dot jp
1 year ago
Just wanted to add that not only the `start` can be a negative number, the `length` can be negative, too. And it works as expected.

mb_substr( "1234567890", 3, -4, "UTF-8" ) => "456".

So it cuts off the last 4 characters.

<< Back to user notes page

To Top