StringBuilder: AppendChar

AppendChar

Appends a Unicode character a specified number of times to the end of string value.



 Public Function AppendChar(
	  ByVal Char As Long,
	  Optional ByVal Count As Long = 1 ) As StringBuilder

Parameters

Char
[ByVal] Long. The Unicode character code to append.
Count
[ByVal] Optional. Long. The number of times to append the character.  

Default: 1

Return Values

StringBuilder -  This instance of StringBuilder.

Remarks

The AppendChar(Char) method modifies the existing instance of this class; it does not return a new class instance.

The Char argument accepts a Long datatype, however, it converts the value to an Integer by taking only the lower 16 bits.

See Also

Project CorLib Overview

Class StringBuilder Overview