PDA

View Full Version : breaking strings in vbs


velious
06-02-2004, 08:22 PM
i have something like this:


msgbox ("This is a tutorial in how to create html tables" & VbCrLf & "1) To begin, you need to open a text editor like notpad and save it as table.html" & VbCrLf & "this text goes on the next line")

the problem is, this line is going to go on for ever and become inpossible to edit. I tried various things to break the string to a new line, but all i get is errors. I'm @ school right now so I cant consult my vbs in a nutshell book
:( .

sage45
06-03-2004, 12:01 AM
I think I understand what you are asking...


msgbox ("This is a tutorial in how to create html tables" _
& VbCrLf _
& "1) To begin, you need to open a text editor like notpad and save it as table.html" _
& VbCrLf _
& "this text goes on the next line")


HTH,

-sage-

velious
06-03-2004, 05:51 PM
cool thanks :D , its working now