Align columns: Difference between revisions

Line 1,309:
val lines = scala.io.Source.fromFile("c:\\text.txt").getLines.map(_.trim())
val words = lines.map(_.split("\\$").toList).toList
val lens = words.map(l => l.map(s=>s_.length)).toList
var maxlens = Map[Int,Int]() withDefaultValue 0
Anonymous user