What is the strchr function?
Printable View
What is the strchr function?
RTFM
Quote:
strchr()
(strrchr()) Returns a pointer to the first (last) occurrence of character c in string s, or a null pointer if c does not occur in the string. The null byte terminating a string is considered to be part of the string.
Thank you.I am using it with \n to strip it off.
ur info helped me a lot.