Nipodemos

put capitalize back in it's place

... ... @@ -440,13 +440,6 @@ class GetUtils {
return true;
}
/// Uppercase first letter inside string and let the others lowercase
/// Example: your name => Your name
static String capitalizeFirst(String s) {
if (isNullOrBlank(s)) return null;
return s[0].toUpperCase() + s.substring(1).toLowerCase();
}
/// Capitalize each word inside string
/// Example: your name => Your Name, your name => Your name
static String capitalize(String s) {
... ... @@ -461,6 +454,13 @@ class GetUtils {
return result.trim();
}
/// Uppercase first letter inside string and let the others lowercase
/// Example: your name => Your name
static String capitalizeFirst(String s) {
if (isNullOrBlank(s)) return null;
return s[0].toUpperCase() + s.substring(1).toLowerCase();
}
/// Remove all whitespace inside string
/// Example: your name => yourname
static String removeAllWhitespace(String s) {
... ...