Ok so in one of my programs functions, I collect a STRING & an Integer (in two seperate variables), one after the other. Then do something with both of those.
What I want to do is.....after getting the String lets call it NAME and the string = JENNIFER. Then I want to take the Integer I have just collected lets call it NUMBER and the integer = 100001.
I want to combine NAME & NUMBER, add a delimiter ...in this case a " ; " symbol. Then add it to my listbox. Later I will save it to a text file (already have the code to do that)
So my list box should look like this, 1 line each.....after combining NAME & NUMBER
JENNIFER;100001
SANDRA;20222
DAVID;3033
ALEX;333
MICHELLE;8088888
So how do i combine both a string & an integer...while separating it with a ; ?
What I want to do is.....after getting the String lets call it NAME and the string = JENNIFER. Then I want to take the Integer I have just collected lets call it NUMBER and the integer = 100001.
I want to combine NAME & NUMBER, add a delimiter ...in this case a " ; " symbol. Then add it to my listbox. Later I will save it to a text file (already have the code to do that)
So my list box should look like this, 1 line each.....after combining NAME & NUMBER
JENNIFER;100001
SANDRA;20222
DAVID;3033
ALEX;333
MICHELLE;8088888
So how do i combine both a string & an integer...while separating it with a ; ?