Posted By

krisdb on 03/09/07


Tagged

ASP


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

stefo


get file extension


 / Published in: ASP
 

  1. 'accepts: file name string
  2. 'returns: 3 letter file extension
  3. function getFileExt(fileName)
  4. getFileExt = Mid(fileName, InstrRev(fileName, ".") + 1)
  5. end function

Report this snippet  

You need to login to post a comment.