feat(facade): toUpperCase and toLowerCase
This commit is contained in:
@ -64,6 +64,14 @@ class StringWrapper {
|
||||
return s.replaceAll(from, replace);
|
||||
}
|
||||
|
||||
static String toUpperCase(String s) {
|
||||
return s.toUpperCase();
|
||||
}
|
||||
|
||||
static String toLowerCase(String s) {
|
||||
return s.toLowerCase();
|
||||
}
|
||||
|
||||
static startsWith(String s, String start) {
|
||||
return s.startsWith(start);
|
||||
}
|
||||
|
@ -104,6 +104,10 @@ export class StringWrapper {
|
||||
return s.replace(from, replace);
|
||||
}
|
||||
|
||||
static toUpperCase(s: string): string { return s.toUpperCase(); }
|
||||
|
||||
static toLowerCase(s: string): string { return s.toLowerCase(); }
|
||||
|
||||
static startsWith(s: string, start: string) { return s.startsWith(start); }
|
||||
|
||||
static substring(s: string, start: int, end: int = null) {
|
||||
|
Reference in New Issue
Block a user