Introduction
Strings hold text in programs. They cannot be changed once created, which helps avoid mistakes.
When you want to store names or messages in your app.
When you need to compare or search text.
When you want to build text step-by-step safely.
When you want to pass text data between parts of your program.
When you want to keep text data safe from accidental changes.