SyntaxFix
Write A Post
Hire A Developer
Questions
If you’re using a multi-byte character encoding and do not just want to remove the first four bytes like substr does, use the multi-byte counterpart mb_substr. This does of course will also work with single-byte strings.
substr
mb_substr