question: public static String stripFunctionTags ( String label ) { if ( label . indexOf ( "-" ) > 0 ) return label . substring ( 0 , label . indexOf ( "-" ) ) ; else return label ; }
target:  Strips function tags from a given node label. This function assumes that everything that comes before the first hyphen is useful and returns that.