String Question

Results 1 to 2 of 2

Thread: String Question

  1. #1
    Join Date
    Dec 1969

    Default String Question

    I want to be able crop off the name of a file when inserting into server using FSO<BR><BR>the names of the file always end with .jpg I want lop off everything to the right starting at the dot and leave everything to the left of the dot in the extension

  2. #2
    Join Date
    Dec 1969

    Default RE: String Question

    this is pretty easy<BR><BR>Function getFilename(text) <BR> getFilename = Left(text,inStrRev(text,".")-1)<BR>End Function<BR><BR><BR><BR>j<BR>

Posting Permissions

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