GoConqr has a new look! Let us know what you think.

Module 2 of 9 · Media

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.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?