Very simple question
-
Hi all, I can't find how to break long string constants to the multiple lines. Example: Dim mystring as string string.insert(0, "VeryVeryVery... .LongLine") The VB don't understand, that the string constant continues on the nextline. Please help, Thanks in advance
-
Hi all, I can't find how to break long string constants to the multiple lines. Example: Dim mystring as string string.insert(0, "VeryVeryVery... .LongLine") The VB don't understand, that the string constant continues on the nextline. Please help, Thanks in advance
You break long strings this way. dim mystring as string = "A very, very, very " & _ "Long line."
-
Hi all, I can't find how to break long string constants to the multiple lines. Example: Dim mystring as string string.insert(0, "VeryVeryVery... .LongLine") The VB don't understand, that the string constant continues on the nextline. Please help, Thanks in advance
You shouldn't type a very long line in VB. It's really inconvenient. You may write it to a file such as *.txt, then load it to your string var. It's convenient that: you can easily repair the text.:cool: GF bos