findInteger

Find and parse an integer from a string, ignoring everything that is not a digit.

Note that this may cause unexpected results such as "I have 2 apples and 3 oranges" being converted into 23.