safeParseInt

open fun safeParseInt(s: String, fallback: Int): Int

Return

integer contained in string or fallback if not a number