Trying to make 2 strings out of one Serial transmission

Hello,

Check for a null character.
You can initialize strings also; be sure to test code as well for valid data. Prefix each with a character.
See example below.

String Initialization in Java

I also have an example here that may be of interest:

:)