Martin Barth
12/11/2020, 7:17 AMOle K. Ă˜verland (Norway)
12/11/2020, 8:02 AMnkiesel
12/11/2020, 10:21 AMArray<CharArray> or Array<IntArray>Martin Barth
12/11/2020, 10:21 AMMartin Barth
12/11/2020, 10:23 AMnkiesel
12/11/2020, 10:25 AMfun toArray(l: List<String>) = l.map { it.toCharArray() }.toTypedArray(). and then use data[row][col] to access (and set) chars in that 2Dnkiesel
12/11/2020, 10:28 AMCharArray but that needs more juggling with with % to compute the correct indexMartin Barth
12/11/2020, 3:13 PM