newline character?

R

Rudi Ahlers

What is the newline (carriage return) character?
I have seen the following in practice:
clientresponse = "Hello " & username & Chr(39) & Chr(39) & clientresponse
But this creates a " sign, can anyone tell me what the newline character is?
This is for inserting data into a DB, and keeping keeping the carriage
return

In HTML it would be <BR>

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
 
R

Rudi Ahlers

Thanx, this was a great help
I noticed though that I need both, to put stuff into a SQL DB

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
Hi Rudi,

New lines are usually Chr(13) and/or Chr(10). However, you might want to
investigate

Environment.NewLine Property

"Gets the newline string defined for this environment."

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemenvironmentclassnewlinetopic.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top