print List To Console Chunked
fun printListToConsoleChunked(list: List<String>, chunkSize: Int, prefix: String, printIndexes: Boolean)
Print a list to console in chunks. If a chunk size of 5 is set for a list with 20 entries, the result would be 4 lines printed, with 5 entries each.
Author
Griefed
Parameters
list
The list to print to the console.
chunk Size
The chunk size to print the list with.
prefix
A prefix to add to each line printed to the console.
print Indexes
Whether to print the indexes of the entries.