
</code></pre>
<p>Strings are immutable. Although you cannot change a string, you can perform
an operation on a string and assign the result to a new string:</p>
<pre class="language-dart"><code>var string = 'Dart is fun';
var newString = string.substring(0, 5);
</code></pre>
<p>You can use the plus (<code>+</code>) operator to concatenate strings:</p>
<pre class="language-dart"><code>'Dart ' + 'is ' + 'fun!'; // 'Dart is fun!'
</code></pre>
<p>You can also use adjacent string literals for concatenation:</p