This commit is contained in:
Gabriel Augendre 2015-06-05 09:47:51 +02:00
parent 92b7c59267
commit 88484c1e47

View file

@ -50,6 +50,11 @@ public class MainPanel {
}); });
} }
/**
* Extracts the upper case characters from the given string.
* @param s The string where to extract upper case characters.
* @return The upper case characters found in the given string.
*/
public String extractUpperCase(String s) { public String extractUpperCase(String s) {
String upperCase = ""; String upperCase = "";
for (int i = 0; i < s.length(); i++) { for (int i = 0; i < s.length(); i++) {