function mb_str_pad($input, $pad_length, $pad_string, $pad_type, $encoding)Keruald global functions ()
function mb_str_pad($input, $pad_length, $pad_string, $pad_type, $encoding)
Keruald global functions ()
Pads a multibytes string to a certain length with another string
Parameters
string | $input | the input string |
int | $pad_length | the target string size |
string | $pad_string | the padding characters (optional, default is space) |
int | $pad_type | STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH (optional, default is STR_PAD_RIGHT) |
string | $encoding | the character encoding (optional) |
Return
string | the padded string |
- Defined
- core.php:27