Steve,

If Bruce's answer doesn't fufill your needs try this.

The way I would approach it would be to take the string and just use a select statement to figure out which one you want and then reference the correct property or method.

Hope this helps,