发布于 2015-09-14 15:09:15 | 165 次阅读 | 评论: 0 | 来源: 网络整理
$substr takes a string and two numbers. The first number represents the number of bytes in the string to skip, and the second number specifies the number of bytes to return from the string.
注解
$substr is not encoding aware and if used improperly may produce a result string containing an invalid UTF-8 character sequence.