dropWhileString function
Drop first n characters that meet criteria.
Implementation
String dropWhileString(bool Function(String sub) dropFunction, String s) {
for (int i = 0; i < s.length; i++) {
if (!dropFunction(s.substring(i, i + 1))) {
return s.substring(i, s.length);
}
}
return '';
}