determines the parent directory of the given path . this is similar to dirname 1 . this assumes that path components are separated by forward slashes . the returned path omits the last slash and trailing component ; for example , '' / foo/bar.txt '' becomes '' / foo '' . there are a special cases : if the last slash is the first character in the input , the return value is '' / '' . if there are no slashes in the input , '' . '' is returned . concode_field_sep String DEFAULT_CHARSET concode_elem_sep long INITIAL_MOTD_ID concode_elem_sep String ANDROID_KEYSTORE_FILENAME concode_field_sep String trimOffExtension concode_elem_sep boolean isImageFile concode_elem_sep String basename concode_elem_sep String getFilePath concode_elem_sep String getPackageName concode_elem_sep String getFileUrl concode_elem_sep boolean isTextFile concode_elem_sep String getContentTypeForFilePath
String function ( String arg0 ) { int loc0 = arg0 . lastIndexOf ( "srini_string" ) ; if ( "srini_string" . equals ( arg0 ) || loc0 == 0 ) { return "srini_string" ; } else if ( loc0 == - 1 ) { return "srini_string" ; } else { return arg0 . substring ( 0 , loc0 ) ; } }