I'm trying to write a function that returns the first digit in a `String`, and if there isn't one then the function should return `1`.

Example:

`firstNumber "Example456"` should return `4` because that is the first digit in the `String`.

`firstNumber "Example"` should return `1` because there is no digit.

This is what I have so far:

```
firstNumber :: String -> Int
firstNumber = read . maximumBy (length) . map (isDigit)

```

Can anyone help me here?