static String fromStart ( String inp , int del ) {
  try {
    String inp1 = inp . substring ( 0 , del - 1 ) ;
    String inp2 = inp . substring ( del , inp . length ( ) ) ;
    return inp1 + inp2 ;
  }
  catch ( Exception e ) {
    return "Check Input" ;
  }
}

static String fromStart ( String inp , int del ) { try { String inp1 = inp . substring ( 0 , del - 1 ) ; String inp2 = inp . substring ( del , inp . length ( ) ) ; return inp1 + inp2 ; } catch ( Exception e ) { return " Check ▁ Input " ; } }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (try_statement body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (return_statement (binary_expression left: (identifier) right: (identifier)))) (catch_clause (catch_formal_parameter (catch_type (type_identifier)) name: (identifier)) body: (block (return_statement (string_literal)))))))