:orphan: # PetscStrrstr Locates last occurrence of string in another string ## Synopsis ``` static inline PetscErrorCode PetscStrrstr(const char a[], const char b[], char *tmp[]) ``` Not Collective, No Fortran Support ## Input Parameters - ***a -*** pointer to string - ***b -*** string to find ## Output Parameter - ***tmp -*** location of occurrence ## See Also `PetscStrbeginswithwhich()`, `PetscStrendswith()`, `PetscStrtoupper`, `PetscStrtolower()`, `PetscStrrchr()`, `PetscStrchr()`, `PetscStrncmp()`, `PetscStrlen()`, `PetscStrcmp()` ## Level intermediate ## Location include/petscstring.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscstring.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)