Java examples for java.lang:char
is Space Letter
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { char input = 'a'; System.out.println(isSpaceLetter(input)); }/* w ww. j a v a2s . c o m*/ public static boolean isSpaceLetter(char input) { return input == 8 || input == 9 || input == 10 || input == 13 || input == 32 || input == 160; } }