Skip to content

Instantly share code, notes, and snippets.

@crunchywelch
Created June 9, 2018 17:22
Show Gist options
  • Save crunchywelch/09c89e2ce3c80b0fb91c0b564af9bb25 to your computer and use it in GitHub Desktop.
Save crunchywelch/09c89e2ce3c80b0fb91c0b564af9bb25 to your computer and use it in GitHub Desktop.
public class StringTester {
public static void main(String[] args) {
final String pattern = "^[A-Z].*";
return args[0].matches(pattern);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment