GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 2 von 9 · Medien

Interpolate Concatenate

Kostas Diakogiannis

Interpolate Concatenate

String concatenation vs string interpolation

The + operator, when one or more of the parts is a string acts like a string concatenating operator. Unites 2 strings in one. Take care of the space you must literally give. This works well if you have string literals. 

In case of string interpolation you don't have to. You can put all assignments and variables inside a string.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck