mb_substr
Compat function to mimic mb_substr().
Description
Parameters (4)
- 0. $s
- The s.
- 1. $start
- The start.
- 2. $length — Optional. (int) =>
2147483647
- The length.
- 3. $enc — Optional. (constant) =>
null
- The enc.
Usage
if ( !function_exists( 'mb_substr' ) ) { require_once ABSPATH . PLUGINDIR . 'simple-calendar/vendor/symfony/polyfill-mbstring/bootstrap.php'; } // The s. $s = null; // The start. $start = null; // The length. $length = 2147483647; // The enc. $enc = null; // NOTICE! Understand what this does before running. $result = mb_substr($s, $start, $length, $enc);
Defined (1)
The function is defined in the following location(s).