Subj : Varrible assignments
To   : Finnigann
From : Digital Man
Date : Sat Sep 08 2007 11:42 am

 Re: Varrible assignments
 By: Finnigann to All on Sat Sep 08 2007 10:42 am

>
>
>   How would I get the file extention into a varrible?
>
>   [Example]
>
>   Contest.845  file name,
>            ^^
>   which would change from week to week as part of the extention (last
>   two digits are the week of the year).
>
>   If your reply doesn't show how to get the file name into a varrible,
>   how might that be done, too.
>
>   advThanksance.
>
>   In the  I'm-gonna-hate-myself-in-the-morning dept...I downloaded Jas'
>   oneliner program (with .SRC) and am actually learning from it. Thanks.

If the filename portion is fixed-length (e.g. always "Contest", 7 chars), then
the following would work:

str extension
copy extension filename
shift_str extension 7     # filename portion is always 7 chars

                                      digital man (xbox-live: digitlman)

Snapple "Real Fact" #182:
A rainbow can only be seen in the morning or late afternoon.
Norco, CA WX: 79.3�F, 57% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net