7 Replies Latest reply on Sep 22, 2010 1:57 AM by Anitha Selvaraj

    get only the filename not the full path of the file.

    cyrus@adobe

      hi to all..

       

      how can i get only the filename of the file not the full path and to be placed on a textinput.?

       

      example:

       

      when i'browse the file and select sample.txt

       

      "C:\Users\user\Desktop\folders\sample.txt" this will be inputted on the textinput.

       

      however, what i want to have is when i'browse and select a file..

       

      textinput should only contain "sample".

       

      does anyone knows how to do it?