+ 1
Search a string in a string and replace (vbscript or Python)
Hello everybody. I would like to replace an extension in a string. For example: bonjour.exe -> bonjour.zip I search “.exe” And replace it by “.zip”. Thank you for your help.
5 Respuestas
+ 1
Woaw!!! Thank you Jay.
Very simple and it works!!!
Do you know how to do it in Vbscript please?
+ 1
Thank you very much Jay for your help, i will try it today.
An other thing, is it possible to search “.” and extract the string from the left to the “.” and add an other extension? Still in vbscript?
+ 1
Thank you so much Jay. Do you speak french?
+ 1
lol.
it is hard for me computer languages. i amnstarting from zero. and it is hard.
+ 1
Hi Jay, I did the test on my computer, and the function replace was easy to assign. It works. Thanks a lot.