Dart doesn’t provide us with the + operator for concatenating strings. If we want to connect few strings into a new big one we can just place them side by side.

void main()
  var a = "hello";
  var b = "students";
  var str = "hello " "students";

The following video clips overviews this code sample, shows its execution and explains it.

Leave a Reply

Your email address will not be published. Required fields are marked *