Diviner

Function my_substr()

Definedinc/functions.php:4505

int my_substr($string, $start, $length = "", $handle_entities = false)

parametersstring$stringThe string to cut.
int$startWhere to cut
int$length(optional) How much to cut
bool$handle_entities(optional) Properly handle HTML entities?
returnintThe cut part of the string.

Cuts a string at a specified point, mb strings accounted for