Difference between revisions of "Long Strings"
From HashVB
m (Fixed indentation) |
|||
Line 3: | Line 3: | ||
eg. | eg. | ||
− | Dim words As String | + | Dim words As String |
− | + | ||
− | words = "Hello this is supposed " _ | + | words = "Hello this is supposed " _ |
− | + | & "to be a very long string "_ | |
− | + | & "to show you how to use "_ | |
− | + | & "the underscore line-continuation "_ | |
− | + | & "character." |
Latest revision as of 13:05, 6 March 2014
When you use long strings, use the underscore line-continuation character to easily create multiple lines of code.
eg.
Dim words As String words = "Hello this is supposed " _ & "to be a very long string "_ & "to show you how to use "_ & "the underscore line-continuation "_ & "character."