2.9. String operations

The + operator works with strings, but it is not addition in the mathematical sense. Instead it performs concatenation, which means joining the strings by linking them end to end. For example:

The * operator also works with strings by multiplying the content of a string by an integer. For example:

You have attempted of activities on this page