protected String stripObjMetadata ( String text ) { if ( text . startsWith ( "[" ) ) { return text . substring ( text . lastIndexOf ( "]" ) + 1 ) ; } else { return text ; } }
method will strip the metadata from the text string