- Home /
Combining several strings into a single one?
The question says it all; I have several separate string variables and need to be able to add all of them to one single string. I don't have the slightest idea on how to do this, so any help would be appreciated. I'm using Unity Iphone if that helps at all, haha.
Thanks!
Comment
Best Answer
Answer by Eric5h5 · Mar 01, 2010 at 11:14 PM
var string1 = "a";
var string2 = "b";
var stringCombo = string1 + string2;
How would i do this is in unityscript? Thanks ahead of time!
same thing but replace 'var' with 'string'.
Your answer
![](https://koobas.hobune.stream/wayback/20220612091729im_/https://answers.unity.com/themes/thub/images/avi.jpg)