Page MenuHomePhabricator
Diviner Arcanist Tech Docs phutil_utf8_hard_wrap

function phutil_utf8_hard_wrap($string, $width)
Arcanist Technical Documentation ()

Hard-wrap a block of UTF-8 text with no embedded HTML tags and entities.

Parameters
string$stringA non HTML string
int$widthWidth of the hard-wrapped lines
Return
listList of hard-wrapped lines.