StringBuilderPolyfillExtensionAppendJoin(StringBuilder, Char, String) Method
Concatenates the
Strings of the provided array, using the specified
Char separator between each
String, then appends the result to
builder.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static StringBuilder AppendJoin(
this StringBuilder builder,
char separator,
params string?[] values
)
<ExtensionAttribute>
Public Shared Function AppendJoin (
builder As StringBuilder,
separator As Char,
ParamArray values As String()
) As StringBuilder
public:
[ExtensionAttribute]
static StringBuilder^ AppendJoin(
StringBuilder^ builder,
wchar_t separator,
... array<String^>^ values
)
[<ExtensionAttribute>]
static member AppendJoin :
builder : StringBuilder *
separator : char *
values : string[] -> StringBuilder
- builder StringBuilder
- The StringBuilder to which the characters are
appended.
- separator Char
- The character to use as a separator. separator is included in the joined strings only if values has more
than one element.
- values String
- An array that contains the strings to concatenate and append
to builder.
StringBuilderA reference to
builder after the append operation has
completed.In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).