AppendStringBuilderStringN()
Syntax
Result = AppendStringBuilderStringN(#StringBuilder, String$)Description
Append a string and a newline character to the end of the current string builder content.
Parameters
#StringBuilder The string builder to use. String$ The string to append.
Return value
Returns nonzero if the string was successfully appended and zero if there was an error.
Remarks
This function efficiently appends the string and the newline character to the internal buffer, growing the buffer as needed. Multiple calls to this function can be chained together to build complex strings efficiently.
Example
CreateStringBuilder(0)
For i = 1 To 500
AppendStringBuilderStringN(0, "Line " + Str(i))
Next
Result$ = GetStringBuilderString(0)
Debug Result$
See Also
CreateStringBuilder(), GetStringBuilderString(), ResetStringBuilder(), AppendStringBuilderString()
Supported OS
All