POMO_Reader::substr( string $input_string, int $start, int $length ): string

In this article

Parameters

$input_stringstringrequired
$startintrequired
$lengthintrequired

Return

string

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.