markup_strsplit_words


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.14.0" ) ]
public string[] markup_strsplit_words (string text, uint line_len)

Splits up a long line into an array of smaller strings, each being no longer than line_len.

Words are not split.

Parameters:

text

the text to split.

line_len

the maximum length of the output line

Returns:

lines, or null in event of an error


Namespace: AppStream
Package: appstream



2022 vala-language.org