I am looking for the smartest way to convert a string with leading numbers into an integer value. It should use only the leading numbers in front of a text-string or 0 if there