A Pascal string can contain any character as the length is stored separately, so that would simply be a pascal string with a null character in third position.
However since many GUI and console libraries are C based, they often can't deal with nulls, as they see it as the end of a string.
So in summary, that construct is fine, but displaying it can be troublesome.