splitStringByLength

fun splitStringByLength(string: String, length: Int): Array<String>

Split strings by length into an array.

Return

An array of the strings.

Parameters

string

The string to split.

length

The max length after which to split the string.