This example demonstrates isGPMSstring()

Input some text:

What to try in a text field: