how to define a serial inputString

Thanks guys!

here is the post with all the code:

What method could I use then to assign the String?