Basically I want to use .Replace for a filename but the problem is this
filename: File
target name: Fils
So I want to do filename.Replace("e","s").Replace("s","p")..... etc...
actual name after replace: Filp
So it would replace the first e with an s, but then it replaces it again with a p... as it changes the string and then continues the .Replace's...
anyway around this using .replace...
thanks
filename: File
target name: Fils
So I want to do filename.Replace("e","s").Replace("s","p")..... etc...
actual name after replace: Filp
So it would replace the first e with an s, but then it replaces it again with a p... as it changes the string and then continues the .Replace's...
anyway around this using .replace...
thanks