You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filename() property includes the file extension. Would be nice to have something similar to what this accomplishes:
function fileName(url) {
if (url === null || typeof url === 'undefined')
return ''
let file = new URI(url).filename() // File name with file extension
return file.substring(0, file.lastIndexOf('.')) // Remove the extension
}
The text was updated successfully, but these errors were encountered:
DenisLabrecque
changed the title
Property for File Name Separately
Property for File Name without File Extension
Jul 18, 2020
The filename() property includes the file extension. Would be nice to have something similar to what this accomplishes:
The text was updated successfully, but these errors were encountered: