bool isWs(int c) { if ( c == 32 ) { return true; } if ( c == 9 ) { return true; } if ( c == 10 ) { return true; } if ( c == 13 ) { return true; } return false; }