Send recive data separated by comma

Robin's Serial Input Basics - updated might be a good read. It does not use String objects but it can give you the idea.

Please edit your post, select all code and click the </> button to apply so-called code tags and next save your post. It makes it easier to read, easier to copy and prevents the forum software from incorrect interpretation of the code. This is described in How to get the best out of this forum.