public void removeChild ( final String child ) { final StringBuilder htmlMiddleSB = getHtmlMiddleSB ( ) ; final String sb = htmlMiddleSB . toString ( ) ; final String replaced = sb . replace ( child , "" ) ; final int lastIndex = htmlMiddleSB . length ( ) - 1 ; htmlMiddleSB . delete ( 0 , lastIndex ) ; htmlMiddleSB . append ( replaced ) ; }
removes the the child content .