What is the difference between string concatenation and interpolation?

Concatenation allows you to combine to strings together and it only works on two strings. Swift uses string interpolation to include the name of a constant or variable as a placeholder in a longer string, and to prompt Swift to replace it with the current value of that constant or variable.

Sizin İçin Seçtik  Vodafone SIM kartı ne zaman açılır?

Leave a Reply

Your email address will not be published. Required fields are marked *