Answer Posted / Dilshad Ali
The raw method in Scala String Interpolation allows the inclusion of special characters, like newline or double quotes, without escaping. For example: s"This is a ${raw "n" }new line" will output 'This is a n new line'.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers