Like this:
aString.toUpperCase().startsWith("SOMETHING"); aString.toUpperCase().endsWith("SOMETHING");
2.1m questions
2.1m answers
60 comments
56.8k users