Is there a way to try parse a Char into an Int?

Is there anyway to filter out any non-number char from him's origin?