Programming Concepts Tutorial

Learn the fundamental concepts of computer programming

Strings

Strings

A string is a sequence of characters used to represent text. Almost all programming languages enclose strings in single quotes (') or double quotes (").

String Concatenation

Joining two or more strings together is called concatenation. It is usually done using the + operator.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics