use strchr() not index()
3 files changed