I've coded a string in Java where I inserted a LF (linefeed) at the end like this:

String str = "......\n";

Now I need to need newline made of a Carriage Return and a Line Feed, a CRLF. In hex that is 0D 0A instead of 0A. Is there a way to insert this into my string?

Edit
Report