POMO_Reader::substr( string $string, int $start, int $length )
Parameters
- $string
-
(string) (Required)
- $start
-
(int) (Required)
- $length
-
(int) (Required)
Return
(string)
Source
File: wp-includes/pomo/streams.php
function substr( $string, $start, $length ) {
if ( $this->is_overloaded ) {
return mb_substr( $string, $start, $length, 'ascii' );
} else {
return substr( $string, $start, $length );
}
}
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_reader/substr