parse string to int when string contains a number + extra characters,int(''.join(c for c in s if c.isdigit()))