public char getLowestChar(String text){
char[] chars = text.toCharArray();
char lowest = chars[0];
for(int i = 1;i<chars.length;i++){
if(lowest > chars[i]){
lowest = chars[i];
}
}
return lowest;
}
public static char minChar( String[] strings ) {
char lowest = ' ';
for ( int s = 0; s < strings.length; s++ ) {
char[] chars = strings[ s ].toCharArray();
char templowest = chars[ 0 ];
for ( int i = 0; i < chars.length; i++ ) {
if ( lowest > chars[ i ] ) {
lowest = chars[ i ];
}
}
if ( lowest > templowest ) {
lowest = templowest;
}
}
return lowest;
}