question: returns path of a string . a string `` c : \ src \ res \ paul.dat '' will return `` c : \ src \ res \ '' . concode_field_sep PlaceHolder placeHolder concode_field_sep File setExtension concode_elem_sep String getExtension concode_elem_sep String getExtension concode_elem_sep String getName concode_elem_sep String getName concode_elem_sep int getIndex concode_elem_sep String[] fileRead concode_elem_sep String[] fileRead concode_elem_sep String[] fileRead concode_elem_sep boolean fileWrite concode_elem_sep String getPathName concode_elem_sep String getPathName
target: String function ( String arg0 ) { String loc0 = "srini_string" ; int loc1 = FileUtil . getIndex ( arg0 ) ; if ( loc1 > 0 ) { loc0 = arg0 . substring ( 0 , loc1 + 1 ) ; } return loc0 ; }