find the first occurrence of a character in a string
res = strchr(haystack, char)
a character string or matrix of character strings.
a character.
a character string or matrix of character strings.
res = strchr(haystack, char) returns the first
occurrence of character in the string haystack.
char must contain only one string or as many
strings as in haystack (each one being one-
character-long).