Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js get file name without extension

filename.split('.').slice(0, -1).join('.')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #js #file #extension
ADD COMMENT
Topic
Name
6+5 =