String patterns

When pattern matching on strings the <> operator can be used to match on strings with a specific prefix.

The pattern "hello " <> name matches any string that starts with "hello " and assigns the rest of the string to the variable name.