POMO_Reader::substr()publicWP 1.0

Method of the class: POMO_Reader{}

No Hooks.

Return

String.

Usage

$POMO_Reader = new POMO_Reader();
$POMO_Reader->substr( $string, $start, $length );
$string(string) (required)
-
$start(int) (required)
-
$length(int) (required)
-

POMO_Reader::substr() code WP 6.1.1

public function substr( $string, $start, $length ) {
	if ( $this->is_overloaded ) {
		return mb_substr( $string, $start, $length, 'ascii' );
	} else {
		return substr( $string, $start, $length );
	}
}