adding multiple ints into a string
didnt know where this goes so i'll try here!
i need to add a load of integers into a string but not adding the up,
e.g Integers 1, 8, 3, 0, 2, 4, 6 becomes String 1830246
if it help the integers dont go above 9 or below 0.
Thanks in advance!! =]
Re: adding multiple ints into a string
Simply add a "" to the beginning of your addition, and then let the order of operations and implicit casting take care of the rest for you.
"" + 1 + 2 + 3; // gives the string "123"