public static String processWords ( String input ) {
  String s [ ] = input . split ( "(\s)+" ) ;
  for ( String values : s ) {
    charBuffer . append ( values . charAt ( 0 ) ) ;
  }
  return charBuffer . toString ( ) ;
}

public static String processWords ( String input ) { String s [ ] = input . split ( " ( \s ) + " ) ; for ( String values : s ) { charBuffer . append ( values . charAt ( 0 ) ) ; } return charBuffer . toString ( ) ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) (enhanced_for_statement type: (type_identifier) name: (identifier) value: (identifier) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal)))))))) (return_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))