Getting extension of file name v. ASP

Discussion in 'OT Technology' started by hurleyint1386, May 30, 2007.

  1. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Jan 6, 2005
    Likes Received:
    Rochester, NY
    So I want to be able to get the extension of a file from a database. The filename is being stored in the db as a string. Is there any way to split it by the '.' and get the extension, like in PHP? Or would it be easier to add another column, and when ever the file is uploaded, the extension is saved in the column?

    Edit: nevermind, there's a split function exactly like in PHP
    Last edited: May 30, 2007

Share This Page