Its not bad way, but in my case there will be few more strings sending to arduino and i need to separate it. The best choice would be that code in prefix.
I checked it, and if It looks like its not losing char when I'm sending number+","messageText" just from this prefix.
edit:
i mean that a few more kind of notifications.