Maik Brauer

Maik Brauer

  • NA
  • 12
  • 43.3k

Concat 2 Strings to a local variablename which I can use lateron

Jan 27 2011 9:46 AM
Hi,
have for example 4 variables:
string myvar1="one"
string myvar2="two"
string myvar3="three"
string myvar4="four"

now I want to use the value from variable myvar3, somehow like this:
string mynewvar = "myvar"+"3"

now I would have the value "three" assigned to my new variable.
Is something like that possible?

Cheers,

Answers (6)