+ 1

How to add string and int? Is it possible?

6th Apr 2016, 1:57 PM
M.Asia Sahaya Delsey
M.Asia Sahaya Delsey - avatar
2 Réponses
+ 2
Warning : It's different to "add " a string variable with an int AND use the " concatenation " . One is add the int value of the string with the int and the other is " paste " the string and the int number in a final string. Be careful.
16th Jun 2016, 2:19 AM
Raziel
0
yes.. using the dot operator you can add strings and int or in other words concat strings and int
14th Apr 2016, 9:05 AM
Naveen Kumar K
Naveen Kumar K - avatar