On this page
POMO_Reader::substr( string $string, int $start, int $length ): string
Parameters
$stringstring Required$startint Required$lengthint Required
Return
string
Source
File: wp-includes/pomo/streams.php. View all references
public function substr( $string, $start, $length ) {
if ( $this->is_overloaded ) {
return mb_substr( $string, $start, $length, 'ascii' );
} else {
return substr( $string, $start, $length );
}
}
Related
Used By
| Used By | Description |
|---|---|
| POMO_Reader::str_split() wp-includes/pomo/streams.php |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_reader/substr