public static java.lang.CharSequence METHOD_1 ( java.lang.CharSequence text ) { try { while ( ( text . METHOD_2 ( ( ( text . length ( ) ) - 1 ) ) ) == CHAR_1 ) { text = text . METHOD_3 ( 0 , ( ( text . length ( ) ) - 1 ) ) ; } } catch ( java.lang.Exception VAR_1 ) { VAR_1 . METHOD_4 ( ) ; } return text ; }

public static java.lang.CharSequence METHOD_1 ( java.lang.CharSequence text ) { if ( ( text . length ( ) ) >= 0 ) { try { while ( ( text . METHOD_2 ( ( ( text . length ( ) ) - 1 ) ) ) == CHAR_1 ) { text = text . METHOD_3 ( 0 , ( ( text . length ( ) ) - 1 ) ) ; } } catch ( java.lang.Exception VAR_1 ) { VAR_1 . METHOD_4 ( ) ; } } return text ; }
