static bool isFirstCapital(String string) { if (string.codeUnitAt(0) >= 65 && string.codeUnitAt(0) <= 90) { return true; } return false; }