+ 1

What's the purpose of writing two strings and adding them rather than just writing one string?

27th Aug 2016, 11:22 PM
Mike
2 ответов
+ 2
As you say, simply writing them in a single string would be more useful but sometimes you hace to add variables of strings for example. then concatenations are very useful
10th Sep 2016, 11:38 PM
Juan Holcman
Juan Holcman - avatar
+ 2
There are also other purposes for adding strings together. Perhaps one may want to add a number or other piece of data into the middle of the string to customize the string to include a computed value.
5th Nov 2016, 10:33 AM
Brody