Convert string to numeric?

Convert string to numeric?

Is it possible to convert a string or portion of a string to a numeric variable that can be acted upon in a function?

E.g. I want to take a string like "5 - High", extract just the "5" substring and create a function to multiple that by a separate numeric value.

Currently failing because the substring is still a string.

Thoughts?