Pangram checker: Difference between revisions
Content deleted Content added
m →{{header|PARI/GP}}: ...and show its use |
m →{{header|Java}}: Removed unnecessary concatenation and toLowerCase() operation, added early exit if character is missing. |
||
Line 466:
<lang java5>public class Pangram {
public static boolean isPangram(String test){
if ((test.indexOf(a) < 0) && (test.indexOf((char)(a + 32)) < 0))
▲ return pangram;
}
|