removeFirst method
Removes the first upto
characters from the string.
@param upto The number of characters to remove from the start. Defaults to 1.
@return The string with the first upto
characters removed, or an empty string if the result would be empty.
Implementation
String removeFirst([int? upto]) =>
minLen(2) ? substring(upto ?? 1, length) : '';