String confusion

hello friends , please tell me how can i write a string in multiple lines(i.e i want multiple line string)
[120 byte] By [johnray31a] at [2007-10-2 17:19:10]
# 1

> hello friends ,

>

> please tell me how can i write a string in multiple

> e lines(i.e i want multiple line string)

Hi,

I'm not sure that I understand what you mean. Do you just want to include a line break in the string? You should in that case use the escape character \n.

E.g.

String text = "two\nlines";

Kaj

kajbja at 2007-7-13 18:35:04 > top of Java-index,Java Essentials,New To Java...
# 2
hi ya i got ur reply .. could anybody tell me how i ll print a quoted string like i want to print "hari goes" with quotion marks....
johnray31a at 2007-7-13 18:35:04 > top of Java-index,Java Essentials,New To Java...
# 3
"\"hari goes\""
Lokoa at 2007-7-13 18:35:04 > top of Java-index,Java Essentials,New To Java...
# 4
thankx loko.....
johnray31a at 2007-7-13 18:35:04 > top of Java-index,Java Essentials,New To Java...