returns a given string without the suffix , as defined by the given separator . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean containsPrefix concode_elem_sep boolean isKnown concode_elem_sep Set unknownPackageNames concode_elem_sep String uniquePackageNames concode_elem_sep void main concode_elem_sep void check
String function ( String arg0 , char arg1 ) { int loc0 = arg0 . lastIndexOf ( arg1 ) ; return loc0 < 0 ? "srini_string" : arg0 . substring ( 0 , loc0 ) ; }