Go Down

Topic: Build a String (Read 652 times) previous topic - next topic


Hey Guys,

Do any of you guys know how to build a String? What i am trying to do is to read a number from the Serial port, and add it to String constants.
For example, I need to have "<T1*>" as a resulting string. The number can change however. So if I send the number 2 to the Serial port, the resulting String should be "<T2*>".

What is the best way to do this?



The below has some good info on manipulating strings. StringReplace might be an easy approach.

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

Go Up