Excellent!  And I actually understand that too!

Thank you Klaus,
-Garrett

On Feb 8, 2006, at 2:50 PM, Klaus Major wrote:

Hi Garrett,

Greetings,

Searched the docs for anything that might do this, but can't find anything....

Does anyone know how to extract a file name and extension from a full path, such as from "answer file" ?

...
answer file "Is there any beer left?"
if it = empty then exit mouseup ##or whatever
set the itemdel to "/"
put item -1 of it into t_filename
set the itemdel to "."
put item -1 of t_filename into t_suffix
put item 1 to -2 of t_filename into t_filename_without_suffix
...

Hope that helps :-)

Thanks,
-Garrett

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to