model_server/project/src/fileEntry.cxx
//This function replaces the last slash character in path with '\0'
This function replaces the last slash character in path with '\0'
This function replaces the last slash character in path with ' \ 0 '
void remove_last_slash(genString& new_path)
{
  unsigned int len = new_path.length();
  if ((len > 1) && (new_path[len -1] == '/'))
    ((char*)new_path)[len-1] = '\0';
}
void remove_last_slash ( genString & new_path ) { unsigned int len = new_path . length ( ) ; if ( ( len > 1 ) && ( new_path [ len - 1 ] == ' ' ) ) ( ( char * ) new_path ) [ len - 1 ] = ' \0 ' ; }
This function replaces the last slash character in path with '\0'
This function replaces the last slash character in path with ' \ 0 '