Created
September 22, 2013 00:53
-
-
Save jookyboi/6655608 to your computer and use it in GitHub Desktop.
Replace filename. From http://stackoverflow.com/questions/5953239/how-do-i-change-file-extension-with-javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file = file.substr(0, file.lastIndexOf(".")) + ".htm"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment