Programming Tips - Java: Is there an isspace(c) in Java (as in C)?

Date: 2013mar2 Language: Java Level: Beginner Q. Java: Is there an isspace(c) in Java (as in C)? A. Yes:
Character.isWhitespace(c);
If you find yourself looping thru a string in C-style its probably better to use a Java Pattern match.