Split input on character is not working with a serial port

Thanks a lot Andrei!
Best Regards,
Alex