Capitalizes the first letter of a string.
String pascalCase(String s) { if (s.isEmpty) return s; return s[0].toUpperCase() + s.substring(1); }