public String remove ( String expression ) { if ( expression == null || expression . length ( ) == 0 ) { return null ; } String property = next ( expression ) ; if ( expression . length ( ) == property . length ( ) ) { return null ; } int start = property . length ( ) ; if ( expression . charAt ( start ) == Nested ) start ++ ; return expression . substring ( start ) ; }
Remove the last property expresson from the current expression .