How can I check whether a string ends with .csv in C?
.csv
I've tried using strlen without any success.
strlen