If I have test.pic.jpg and I want to rename that picture test.pic_thumb.jpg, what is the best way to do that?
I was exploding the file at the . and then adding the _thumb. This works great for filenames with one dot, but with more than one dot it does not.
Any suggestions would be appreciated.
Thanks,
Lance