I use raw lines, but when I print a line, I get additional tabs at the beginning of each line.
val rawString = """here is some text
and now im on the next line
and this is the thrid line, and we're done"""
println(rawString)
it outputs
here is some text
and now im on the next line
and this is the thrid line, and we're done
I tried to set different line endings, but this did not affect. I am working on a Mac (OS X tiger) using jEdit as my editor. I get the same result when I run the script in the scala interpreter or when I write the output to a file.
Does anyone know what is going on here?
source
share