ALIAS

mbsub()

ShortPHP reference for mb_substr().

Signature

mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): string

Example

mbsub(...);

PHP equivalent

mb_substr() is the canonical PHP function. ShortPHP provides mbsub() as the convenience alias.

Extension: mbstring

Official PHP manual ↗

Reference navigation

Previous: mbup()

Next: nf()

Back to reference