public static final StringBuilder stripArrows(final StringBuilder text){
  int pointer2=text.length() - 1;
  if (pointer2 >= 0) {
    while (true) {
      if ((text.charAt(pointer2) == '<') || (text.charAt(pointer2) == '>')) {
        text.deleteCharAt(pointer2);
      }
      pointer2--;
      if (pointer2 < 0) {
        break;
      }
    }
  }
  return text;
}

public static final StringBuilder stripArrows ( final StringBuilder text ) { int pointer2 = text . length ( ) - 1 ; if ( pointer2 >= 0 ) { while ( true ) { if ( ( text . charAt ( pointer2 ) == '<' ) || ( text . charAt ( pointer2 ) == '>' ) ) { text . deleteCharAt ( pointer2 ) ; } pointer2 -- ; if ( pointer2 < 0 ) { break ; } } } return text ; }
removes all the spaces
