Getting a newLIne from System

hiI have to append a new line to a string.One way is String a = "hi all' + "\n";This is not allowed by my company's checkStyle.So is there any way to get the new line character from the properties?plz help
[249 byte] By [hi_alla] at [2007-10-2 10:56:27]
# 1

> hi

> I have to append a new line to a string.One way is

> String a = "hi all' + "\n";

>

> This is not allowed by my company's checkStyle.

> So is there any way to get the new line character

> from the properties?

> plz help

Yes.

Have you tried to search the forum, or google?

Kaj

kajbja at 2007-7-13 3:21:33 > top of Java-index,Java Essentials,Java Programming...
# 2
> Have you tried to search the forum, or google?> Or even look at the Javadoc for System.getProperty().
sabre150a at 2007-7-13 3:21:33 > top of Java-index,Java Essentials,Java Programming...