Programming Reference Manual
 
Syntax
 
stringclassobject.AppendLine S$
 
Description
Add a string to the right end of the text buffer, followed by a vbNewLine character sequence.
 
If used as first operation on a newly create StringClass variable, the internal text buffer of the variable is initialized.
When repeatedly used, a StringClass variable outperforms a standard String concentation by a factor of 100.
 
Parameter
Description
S$
The string value that is to be added to the text buffer.
See Also
Example
 
Sub Main
 
Dim myStr As New StringClass
 
myStr.AppendLine "Hello, world!"
myStr.AppendLine "Hello, world again!"
 
Debug.Print myStr 'Hello, world!
'Hello, world again!
 
End Sub