Parag Thakker wrote:
>
> Hi
>
> In Java how do we declare String on multiple line
>
> say String str =
> " <H1 >Select User </h1> <BR>
> - Select (or change) the users below.";
>
> What character needs to be put in end
> Basically i want to send HTML text on a page
> is it possible to do without reformatting and
> concating?
String str = "This is var1: "
+ foo
+ " and this is var2: "
+ bar
+ "!";
if foo == 15 and bar == 13.38, your string will be:
This is var1: 15 and this is var2: 13.38
--
Sven E. van 't Veer, llm.
Departamento de Desenvolvimento
Brasil Informatica.
http://www.brvip.com.br
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html