/home/bin/tutu.txt -> tutu.txt

Jon Hylands jon at huv.com
Thu Nov 15 20:50:03 UTC 2001


On Thu, 15 Nov 2001 21:39:42 +0100, ducasse <ducasse at iam.unibe.ch> wrote:

> I'm looking for a way to find the filename into a string that represents the
> fullname of that file. I tried this wonderfull method selector but without
> success;(

How about:

FileDirectory localNameFor: '/home/bin/tutu.txt'

That should do it...

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com




More information about the Squeak-dev mailing list