Splits the string into two strings, the first containing the first character and the second containing the rest of the strings and passes them to the given function.
String.Read · [text] · [reader] · [alt]
- The text to split.
- THe function that takes the two string segments.
- An alternative result to return if the string is empty.
The result of
alt if the string was empty.