Write a function extractInt that takes a string as a parameter and returns an integer constructed out of the digits that appear in the string. The digits in the integer should appear in the same order as the digits in the string. If the string does not contain any digits or an empty string is provided as a parameter, the value 0 should be return.
Sample run:
>>> extractInt("24 hours and 7 days a week he 8")
2478
>>> extractInt("No digits here!") 0