public static String fetchPin(String body){
  int i=START_INDEX;
  while (i < body.length()) {
    if (body.charAt(i) == BODY_SEPARATOR) {
      return body.substring(START_INDEX,i);
    }
    i++;
  }
  return body.substring(START_INDEX,i);
}

public static String fetchPin ( String body ) { int i = START_INDEX ; while ( i < body . length ( ) ) { if ( body . charAt ( i ) == BODY_SEPARATOR ) { return body . substring ( START_INDEX , i ) ; } i ++ ; } return body . substring ( START_INDEX , i ) ; }
efficient split method ( instead of string . split ) . returns pin from hardware body . for instance " aw 11 32 " - is body . where 11 is pin number .
