Introduction
Concatenation
6. Concatenation operator || further practice
Simple text functions
How to modify strings
Revision

Instruction

Good job. By the way, don't forget about tiny details such as spaces and full stops when you create sentences in this way. It's easy to overlook them!

Now, get ready for the next exercise.

Exercise

For each slogan, show the following sentence: 'The copywriter of the slogan with id X is Y Z.'.In this sentence, X is the id of the slogan, and Y and Z are the first and last name of the copywriter, respectively. Remember to put a full stop at the end.

Stuck? Here's a hint!

Use || as many as six times and remember to put spaces and a full stop in the correct places.

Console

Code editor

Result

TableConsole