Announcement

Collapse
No announcement yet.

Dialog.FileBrowse - how to save the name of the selected file as string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dialog.FileBrowse - how to save the name of the selected file as string

    local sFilename = Dialog.FileBrowse(true, "Load File", _DesktopFolder, "|", "", "", false, true);

    I can only get the path of the selected file....how do I get the name as a string?


    Regards
    Ron

  • #2
    There is a string split path function, it returns a table with all the parts ie .filename

    Comment


    • #3
      Thanks Shrek.
      Can you please elaborate a bit. From the way I understand it only a table with the complete paths is returned and not just the name of the selected file.

      Maybe a small example....if you have the energy?
      Thanks

      Comment


      • #4
        Hi, thanks Shrek.. I found it...

        Thanks man

        Comment

        Working...
        X