StringBuilder has a public StringBuilder append(CharSequence s) method. StringBuilder implements the CharSequence interface, so you can pass a StringBuilder to that method.

Answer from Eran on Stack Overflow
🌐
Oracle
docs.oracle.com › javase › 8 › docs › api › java › lang › StringBuilder.html
StringBuilder (Java Platform SE 8 )
April 21, 2026 - The principal operations on a StringBuilder are the append and insert methods, which are overloaded so as to accept data of any type. Each effectively converts a given datum to a string and then appends or inserts the characters of that string to the string builder.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › api › system.text.stringbuilder.append
StringBuilder.Append Method (System.Text) | Microsoft Learn
Appends the string representation of a specified 16-bit unsigned integer to this instance. public: System::Text::StringBuilder ^ Append(System::UInt16 value);
🌐
GeeksforGeeks
geeksforgeeks.org › java › stringbuilder-append-method-in-java-with-examples
StringBuilder append() Method in Java - GeeksforGeeks
July 11, 2025 - In Java, the append() method of StringBuilder class is used to add data to the end of an existing StringBuilder object.
🌐
Tutorialspoint
tutorialspoint.com › java › lang › stringbuilder_append_string.htm
Java.lang.StringBuilder.append() Method
The java.lang.StringBuilder.append(String str) method appends the specified string to this character sequence.The characters of the String argument are appended, in order, increasing the length of this sequence by the length of the argument.
🌐
Codecademy
codecademy.com › docs › java › stringbuilder › .append()
Java | StringBuilder | .append() | Codecademy
August 22, 2022 - The .append() method appends the string value of its argument to the StringBuilder.
🌐
Medium
medium.com › @AlexanderObregon › javas-stringbuilder-append-method-explained-500b2ef84ec0
Java’s StringBuilder.append() Method Explained | Medium
August 6, 2024 - Learn the mechanics, performance benefits, and use cases of Java's StringBuilder.append() method for efficient string concatenation and data manipulation.
🌐
Oracle
docs.oracle.com › javase › 7 › docs › api › java › lang › StringBuilder.html
StringBuilder (Java Platform SE 7 )
The principal operations on a StringBuilder are the append and insert methods, which are overloaded so as to accept data of any type. Each effectively converts a given datum to a string and then appends or inserts the characters of that string to the string builder.
Find elsewhere
🌐
BeginnersBook
beginnersbook.com › 2014 › 08 › java-stringbuilder-append-char-c-method
Java – StringBuilder.append(char c) Method
October 6, 2022 - public StringBuilder append(char c): This method appends specified char c at the end of the char sequence represented by StringBuilder object. There are several variations of this method that allow various data types to be appended.
🌐
Dot Net Perls
dotnetperls.com › append
C# - StringBuilder Append and AppendLine - Dot Net Perls
December 7, 2023 - Append adds data to a StringBuilder in C# code.
🌐
CodeGym
codegym.cc › java blog › strings in java › append() method in java: stringbuilder and stringbuffer
Append() Method in Java: StringBuilder and StringBuffer
September 28, 2023 - Append() is a Java method of StringBuilder and StringBuffer classes that append some value to a current sequence
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › api › system.text.stringbuilder.appendjoin
StringBuilder.AppendJoin Method (System.Text) | Microsoft Learn
Concatenates the string representations ... instance of the string builder. public: System::Text::StringBuilder ^ AppendJoin(System::String ^ separator, ReadOnlySpan<System::Object ^> values);...
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › standard › base-types › stringbuilder
Using the StringBuilder Class in .NET - .NET | Microsoft Learn
November 13, 2025 - The following table lists the methods you can use to modify the contents of a StringBuilder. The Append method can be used to add text or a string representation of an object to the end of a string represented by the current StringBuilder.
🌐
Andrew Lock
andrewlock.net › a-deep-dive-on-stringbuilder-part-2-appending-strings-built-in-types-and-lists
Appending strings, built-in types, and lists: A deep dive on StringBuilder - Part 2
July 20, 2021 - As the name suggests, this essentially combines string.Join() with Append, while ensuring that we don't place more pressure on the garbage collector than necessary. Just as for string.Join() there are multiple overloads, but they all essentially delegate to the same private function, so I've only shown one below: public unsafe StringBuilder AppendJoin(string?
🌐
Tutorialspoint
tutorialspoint.com › java › lang › stringbuilder_append.htm
Java StringBuilder append() Method
The Java StringBuilder append() method appends the string representation of its various arguments to the sequence. This method is a part of the String concatenation technique to combine two or more strings in java.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › api › java.lang.stringbuilder.append
StringBuilder.Append Method (Java.Lang) | Microsoft Learn
Append(ICharSequence, Int32, Int32) Attributes · RegisterAttribute · IndexOutOfBoundsException · if start or end are negative, start is greater than end or end is greater than the length of csq. Java documentation for java.lang.StringBuilder.append(java.lang.CharSequence, int, int).
🌐
Oracle
docs.oracle.com › javase › 6 › docs › api › java › lang › StringBuilder.html
StringBuilder (Java Platform SE 6)
The principal operations on a StringBuilder are the append and insert methods, which are overloaded so as to accept data of any type. Each effectively converts a given datum to a string and then appends or inserts the characters of that string to the string builder.
🌐
Jsparrow
jsparrow.github.io › rules › use-string-builder-append.html
Use StringBuilder::append | jSparrow Documentation
String value = new StringBuilder().append("prefix") .append(2*3) .append("value") .append(2) .append(3) .append(4 + 5) .append("suffix") .toString();
🌐
GeeksforGeeks
geeksforgeeks.org › java › stringbuilder-class-in-java-with-examples
StringBuilder Class in Java - GeeksforGeeks
The append() method adds the given string to the end of the existing sequence without creating a new object. This makes StringBuilder efficient for concatenation operations.
Published   May 8, 2026