I am working with array of images containing images with jpg,png and gif extensions.I need to append a string @"-Add" to every image in array just before the extension.How can i achieve this. For ex :i have a image DSC004.jpg and i want to append string "-Add" ,so that my image name becomes DSC004-Add.jpg.?????
I thought of deleting the extension ,appending the required string and then again appending the extension.But my array of images has different extension with every image name.PLs help me out