file extension

Results 1 to 3 of 3

Thread: file extension

  1. #1
    Join Date
    Dec 1969

    Default file extension

    How can can display links in database table without the files extension? I have a database table that have links to asp pages, and when I display the table in asp the link to the file show the extension like this: songs.asp. What I want is to show only the file name like this: songs. Please help me.

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default uh...not sure what you plan on doing

    cause the link will not work without the extension<BR><BR><BR>anywho to display without the extension<BR><BR><BR>Whatever = Left(Whatever, Len(Whatever) - 4)<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: life extension

    response.write left(fileName,instrrev(filename,".")-1 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts