User Tag List

Results 1 to 5 of 5

Thread: I Need help extracting the root path from a string

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,167
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    I Need help extracting the root path from a string

    Hi,

    I have strings being generated in the MMF app I'm working on that are the full path AND the file name of a file. I need to somehow extract the full path (where the file is located), but remove the file name.

    I've never dealt with this text string and file path sort of stuff before.

    Please help.

    thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need help extracting the root path from a string

    Use a string parser with the delimiter "\" then get the string of the first elements (number of elements-1).

  3. #3
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need help extracting the root path from a string

    Perhaps you can get what you want by generating the strings the way you want them to begin with. How are you getting the path string?

    I've uploaded a sample file on how to the get path without file name and the file name by itself using the file object.

    Steve

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module

    Join Date
    Apr 2008
    Posts
    489
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need help extracting the root path from a string

    I have done this, I can upload an example.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,167
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need help extracting the root path from a string

    Thanks mnuch guys for your help. It turnes out drnebula's solution was exactly what I was needed.

Similar Threads

  1. Replies: 5
    Last Post: 8th August 2012, 03:56 AM
  2. Root Path File Example
    By drnebula in forum File Archive
    Replies: 0
    Last Post: 26th September 2009, 07:52 PM
  3. Extracting Text Using String Parser?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd September 2009, 01:59 AM
  4. Vitesse du mouvement Path pour 1 String...
    By Xierra in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd July 2009, 07:51 PM
  5. Extracting an MFA?
    By Eutherin in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd February 2009, 05:27 AM

Posting Permissions

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