Introduction
Strings in Swift act like copies when assigned or passed around. This means changing one string does not change another.
When you want to keep original text safe while making changes to a copy.
When passing strings to functions and you want to avoid unexpected changes.
When storing strings in collections and you want each item independent.
When working with user input that should not affect other parts of the program.