bamdmux
fun String.positions(ch:Char='.') = mapIndexed { i, c -> i to c }.filter{it.second == ch}.map{it.first}