<s>[INST] returns the url last path component . concode_field_sep String SCHEME_HTTPS concode_elem_sep String SCHEME_FILE concode_elem_sep String SCHEME_HTTP concode_elem_sep String originUrl concode_elem_sep String applicationUrl concode_elem_sep String lastPathComponent concode_elem_sep String url concode_field_sep String getApplicationUrlImpl concode_elem_sep String getUrl concode_elem_sep String getScheme concode_elem_sep String convertToRelativeUrl concode_elem_sep String getOrigin concode_elem_sep String getResourceBase concode_elem_sep String getPath concode_elem_sep String getApplicationUrl concode_elem_sep String extractOriginImpl concode_elem_sep String getUrlWithoutHash concode_elem_sep String getUrlWithoutHash [/INST] String function ( ) { if ( lastPathComponent == null ) { int loc0 = url . lastIndexOf ( '/' ) ; lastPathComponent = url . substring ( loc0 + 1 , url . length ( ) ) ; } return lastPathComponent ; </s>