Is there a platform-independent new line character in Java?

I need to use a platform-independent new line character in my Java code to replace \n. Is there a way to do this?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion