strsplit
fun strsplit(string: String, delimiter: String, maxTokens: <Error class: unknown class>): List<String>
Splits a string into a maximum of @max_tokens pieces, using the given
Return
a newly-allocated array of strings, freed with func@GLib.strfreev
Parameters
string
a string to split
delimiter
a string which specifies the places at which to split the string. The delimiter is not included in any of the resulting strings, unless @max_tokens is reached.
maxTokens
the maximum number of pieces to split @string into If this is less than 1, the string is split completely