String to Number

How do I convert a string (e.g. “100”) to a number or boolean?

I know this is probably quite basic, but it escapes me at the moment.

Thanks
Alfred