Hi guys, I have an iphone app that saves some people's data on a single file. Each filename is represented by the user name plus an incremental number, say "tommy1", "tommy2",... , "tommy32", then "sarah1", "sarah2", and so on.
Is it possible to count how many of them are "tommy"'s and how many are "sarah"'s from within the code ? thanks