Silly question: newline char

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Silly question: newline char

Fernando Rodriguez
Hi,

How do you represent the newline char and other non printable chars?
O:-)

Thanks


Reply | Threaded
Open this post in threaded view
|

Re: Silly question: newline char

Christopher J. Demers
"Fernando Rodriguez" <[hidden email]> wrote in message
news:[hidden email]...
> Hi,
>
> How do you represent the newline char and other non printable chars?
> O:-)

I am not sure what you mean by "represent".  If you mean "how do you type it
in code" see bellow.

"Carrage Return"
Character cr.
"Line Feed"
Character lf.
"Escape, I think"
(Character value: 27).
"In Windows a line break is traditionally a cr-lf pair, and the method
bellow is handy."
String lineDelimiter.

Chris