You can use Lite Foundations string class for this:
Code:
LFStringRef lfString = LFStringWithCString(yourCString);
if(LFStringHasSuffix(lfString, LFSTR(".ssv"))
{
   // Here comes your code...
}



(Beside that, you can also compare any other range with Lite Foundations string class)



Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com