Is there any code that parses the Graphic Mode?

BlitzMax Forums/BlitzMax Programming/Is there any code that parses the Graphic Mode?

Before I write my own parser, I wanted to know if anyone wrote a function that parses the GraphicModes() so that the Graphics can be set?

The GraphicModes returns a string of modes:
800x600x16, 60 hz
1024x768x16, 70 hz