in reply to How to parse a scalar variable

Depending upon what you are looking for in the scalar, you could just use a regex to pull out what you need.