Originally Posted by Marvel_us
Not sure I'm getting you on that one. What do you mean by make them multiple lines?
Ahh was making an assumption about what your problem was, looks like I was wrong.
About the null- you never initialized your "r" variable. Think about what r += s; is really doing, especially the first time through.