protected String removeBracketsAndQuotes ( String text , Position position ) { return removeBracketsAndQuotes ( text , true , position ) ; }
Remove all leading and trailing single - quotes double - quotes or square brackets from the supplied text . If multiple properly - paired quotes or brackets are found they will all be removed .