Parsing A File Path

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Feb 21 09:51:54 EST 2007


Hi Len,

So just a pointer :-)
Set the item delimiter to slash to break the pathname into items.

Le 21 févr. 07 à 15:27, Len Morgan a écrit :

> I KNOW I've seen this somewhere but I can't seem to find it so I'm  
> hoping someone can point me in the right direction.
>
> I want to take a file pathname as returned from an "ask file"  
> command for example, and break it into  it's component parts.  I  
> thought there was a command that was passed a pathname and then it  
> returned a list of items (1 is drive/volume, 2 is path, 3 is  
> filename, 4 is extension, etc).
>
> I don't need someone to do this for me, just point me to where I  
> need to go look it up.
>
> Thanks a lot!
>
> Len Morgan


Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list