Thanks, that worked perfectly! Much better than my solution of counting the
characters in the filename and subtracting it from the path with
stripfilename!


On 27 October 2013 20:21, peiman khosravi <[email protected]> wrote:

> Hello,
>
> Take a look at the externals 'basedir' (Moonix) and 'strippath' (zexy).
>
> Best,
> P
>
>
>
>
> *www.peimankhosravi.co.uk || RSS 
> Feed<http://peimankhosravi.co.uk/miscposts.rss> ||
> Concert News <http://spectralkimia.wordpress.com/>*
>
>
> On 27 October 2013 19:56, Antonio Roberts <[email protected]>wrote:
>
>> I want to be able to strip the file name from a path of a file opened via
>> [openpanel]. I've looked into using [stripfilename] but that'd only work if
>> the directory or file name length were the same in every situation.
>>
>> Can anyone help?
>>
>> Thanks
>>
>> --
>> ============================
>> [email protected]
>> http://www.hellocatfood.com
>> ============================
>>
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>


-- 
============================
[email protected]
http://www.hellocatfood.com
============================
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to