byteSubstr() public static method
Returns the portion of string specified by the start and length parameters. This method ensures the string is treated as a byte array by using mb_substr(). See also http://www.php.net/manual/en/function.substr.php.
public static string byteSubstr ( $string, $start, $length = null )$string string
The input string. Must be one character or longer. $start integer
The starting position $length integer
The desired portion length. If not specified or null,