How to Append or Concatenate Strings in Dart? Last Updated : 07 Apr, 2025 Suggest changes Share 9 Likes Like Report In Dart, the concatenation of strings can be done in four different ways:Using the '+' operator.Using string interpolation.By directly writing string literals.Using the .join() method on a list of strings.1. Using the ' + ' OperatorIn Dart, we can use the '+' operator to concatenate the strings.Example: Dart // Main function void main() { // Assigning values // to the variable String gfg1 = "Geeks"; String gfg2 = "For"; // Printing concatenated result // by the use of '+' operator print(gfg1 + gfg2 + gfg1); } Output:GeeksForGeeks2. By String InterpolationIn Dart, we can use string interpolation to concatenate the strings.Example: Dart // Main function void main() { // Assigning values to the variable String gfg1 = "Geeks"; String gfg2 = "For"; // Printing concatenated result // by the use of string // interpolation without space print('$gfg1$gfg2$gfg1'); // Printing concatenated result // by the use of // string interpolation // with space print('$gfg1 $gfg2 $gfg1'); } Output:GeeksForGeeksGeeks For Geeks3. By Directly Writing String LiteralsIn Dart, we concatenate the strings by directly writing string literals and appending.Example: Dart // Main function void main() { // Printing concatenated // result without space print('Geeks''For''Geeks'); // Printing concatenated // result with space print('Geeks ''For ''Geeks'); } Output:GeeksForGeeksGeeks For Geeks4. By List_name.join() MethodIn Dart, we can also convert the elements of the list into one string.list_name.join("input_string(s)");This input_string(s) is inserted between each element of the list in the output string.Example: Dart // Main function void main() { // Creating List of strings List<String> gfg = ["Geeks", "For", "Geeks"]; // Joining all the elements // of the list and // converting it to String String geek1 = gfg.join(); // Printing the // concatenated string print(geek1); // Joining all the elements // of the list and converting // it to String String geek2 = gfg.join(" "); // Printing the // concatenated string print(geek2); } Output:GeeksForGeeksGeeks For Geeks A aditya_taparia Follow 9 Article Tags : Dart Dart-String Explore Dart Tutorial 7 min read BasicsIntroduction to Dart Programming Language 4 min read Dart SDK Installation 4 min read Dart - Comments 2 min read Dart - Variables 5 min read Operators in Dart 11 min read Dart - Standard Input Output 3 min read Data TypesDart - Data Types 8 min read Basics of Numbers in Dart 6 min read Strings in Dart 6 min read Dart - Sets 6 min read Dart Programming - Map 7 min read Queues in Dart 3 min read Data Enumeration in Dart 3 min read Control FlowSwitch Case in Dart 2 min read Dart - Loops 4 min read Dart - Loop Control Statements (Break and Continue) 4 min read Labels in Dart 2 min read Key FunctionsDart - Anonymous Functions 2 min read Dart - main() Function 2 min read Dart - Common Collection Methods 2 min read How to Exit a Dart Application Unconditionally? 2 min read Dart - Getters and Setters 3 min read Dart - Classes And Objects 4 min read Object-Oriented ProgrammingDart - this keyword 2 min read Dart - Static Keyword 3 min read Dart - Super and This keyword 4 min read Dart - Concept of Inheritance 5 min read Instance and class methods in Dart 3 min read Method Overriding in Dart 3 min read Getter and Setter Methods in Dart 2 min read Abstract Classes in Dart 4 min read Dart - Builder Class 4 min read Concept of Callable Classes in Dart 4 min read Interface in Dart 3 min read Dart - extends Vs with Vs implements 4 min read Dart - Date and Time 3 min read Using await async in Dart 4 min read Dart UtilitiesHow to Combine Lists in Dart? 3 min read Dart - Finding Minimum and Maximum Value in a List 5 min read Dart - Splitting of String 1 min read Dart ProgramsDart - Sort a List 2 min read Dart - String toUpperCase() Function with Examples 1 min read Dart - Convert All Characters of a String in Lowercase 1 min read How to Replace a Substring of a String in Dart? 2 min read How to Check String is Empty or Not in Dart (Null Safety)? 1 min read Exception Handling in Dart 3 min read Assert Statements in Dart 3 min read Fallthrough Condition in Dart 3 min read Concept of Isolates in Dart 2 min read Advance ConceptsDart - Collections 7 min read Dart - Basics of Packages 2 min read Dart - String codeUnits Property 1 min read HTML Document Object Model and Dart Programming 3 min read My Profile ${profileImgHtml} My Profile Edit Profile My Courses Join Community Transactions Logout Like