Originally posted by: singh
strchr() + 1 will do it. But I wouldn't recommend it unless you're 100% sure your input string is well formed (and you've also done the proper string-length checks).
strchr will return NULL if it finds the end of the string (determined by '\0' char which all your strings should end with) before it finds a '@'.