@main def main(): Unit = val padded = " spaced " // strip removes surrounding whitespace println(padded.strip + "!")
strip leading and trailing spaces