PDA

View Full Version : Carriage Return/Line Feed in a string



dhansen
07-19-2005, 03:57 PM
I'd like to insert a carriage return/linefeed into a string. Normally I would right it as such.

"Line1" + chr(13) + "Line2"

The chr() does not appear to be valid in InstallScript and I can't find anything on this in the help.

Any ideas?

Thanks,
Dean

MichaelU
07-19-2005, 04:41 PM
I believe InstallScript uses the C-style "\n" to represent the newline. In your example, that would be "Line1\nLine2".

dhansen
07-19-2005, 05:17 PM
Perfect!!!!!!!