libappstream::functionsFunction markup_strsplit_words
source pub fn markup_strsplit_words(text: &str) -> Vec<GString>
Expand description
Splits up a long line into an array of smaller strings, each being no longer
than line_len
. Words are not split.
§text
the text to split.
§line_len
the maximum length of the output line
§Returns
lines, or None
in event of an error