I have a string I'm passing from a form; it's a list of names seperated by commas. To parse out those individual names into seperate individual strings I need to know how many commas are in the orginal string in order to know how many loops to iterate through in my For loop.
I hope that was understandable. Is there a (easier) way to count the number of times a character/string occurs within another string?
Thanks
I hope that was understandable. Is there a (easier) way to count the number of times a character/string occurs within another string?
Thanks