I have string as below.
imageFinalNames = @"car1389188719-1224596-22.jpg,car1389188659-1224536-22.jpg,car1389188311-1224187-22.jpg,car1389187911-1223788-22.jpg,";
I want to print all those names separately.
I want result as below.
car1389188719-1224596-22.jpg
car1389188659-1224536-22.jpg
car1389188311-1224187-22.jpg
car1389187911-1223788-22.jpg
Currently what I am doing is using for loop and finding the location of comma and finding substring accordingly and then print it.
I know this is UGLY WAY
Is there any easy and efficient way to get what I wanted?