PETSc version 3.17.0
Fix/Edit manual page

# PetscStrchr

Locates first occurrence of a character in a string

### Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscStrchr(const char a[], char b, char *c[])

Not Collective

### Input Parameters

| a | - pointer to string
| b | - character

### Output Parameter

| c | - location of occurrence, NULL if not found

### Notes

Not for use in Fortran

### Level

intermediate

### Location

src/sys/utils/str.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages