I'm trying to replace a string in a filename:
Original filename:
gamename games.com.zip
Target filename:
gamename.zip
I'm trying to replace the string games.com
with an empty string. gamename
is not a constant string it can be anything, but games.com
is a constant string.