Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capturestr and a New Line (CR & LF) 1

Status
Not open for further replies.

KeithFrench

Programmer
Jul 20, 2001
25
0
0
GB
I need to insert a comment line in an open capture file, which I am doing with:-

capturestr "**** This is a comment ***"

However I need it to have one blank link above & below this comment. How can I do this? I have tried inserting a CR & LF like this:-

capturestr "%c **** This is a comment ***" 13 10

but it does not seem to do it.
 
This should work....
Code:
capturestr "`n`r **** This is a comment ***`n`r"
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top