Use strchr instead of strstr. Probably a bit faster.