Thank you, the substring trick worked like a charm.
Xournal does not save touch screen device name with comma properly