What does the term "String operator" mean?

A type of operator which allows you to perform join different strings together.

Although they vary in how they are written between languages, the string operators are roughly as follows:

OperatorExampleDescription
.“my name is…” . “Joe…”  returns “my name is…Joe…”Concatenates or joins two strings together
.=“my name is…” += “Joe…”  returns “Joe…my name is…”Appends the text on the right to the text on the left

Leave a Reply

Thank you for choosing to leave a comment. Comments may be moderated.