created another extension method on String
for parsing SetpointTypes