find the last occurrence of a character in a string
res = strrchr(str1, char)
a character string or matrix of character strings.
a character or matrix of characters.
a character string or matrix of character strings.
res = strrchr(str1, char)
returns the last occurrence of character char
in the string str1
.
char
must have same dimensions than
str1
or only one character.