So I've got this basic question. I have these 5 chars with a single value assigned to each. I would like to take those 5 chars and stick them into an empty string variable. Now I'm able to do it one by one, but, it would be greatly appreciated if someone could inform me of a way to do them all at once.
Try this: str1 = string() + char1 + char2 + char3 + char4 + char5;
string() is an empty string object, this changes the left operand of the first + so that it will be returning a string which will change the second + and so on