:orphan: # PetscStrgrt If first string is greater than the second ## Synopsis ``` static inline PetscErrorCode PetscStrgrt(const char a[], const char b[], PetscBool *t) ``` Not Collective, No Fortran Support ## Input Parameters - ***a -*** pointer to first string - ***b -*** pointer to second string ## Output Parameter - ***flg -*** `PETSC_TRUE` if `a` is strictly greater than `b`, `PETSC_FALSE` otherwise ## Notes `NULL` arguments are OK, a `NULL` string is considered smaller than all others. If both `a` and `b` are `NULL` then `t` is set to `PETSC_FALSE`. ## See Also `PetscStrcmp()`, `PetscStrncmp()`, `PetscStrcasecmp()` ## 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)