× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi everyone.  I checked on the archives in regards to data manipulation but I
was not successful.  Again, you help.

I am reading a file that contains links to specific engineering drawing images
in the servers.

For example, I have a link like this:
NPR-SERVER-NT/SCANNING/Common/Steve%20Maher/EAR90881/AC9012F1240Y6.B.HPGL

I need to just get the file name only.  However, I am trying to use the CHECKR
and CHECK commands to "surround" the file name but apparently I can't make it to
work.

(DRLINK is 256 char long:)

'/'           Checkr    drlink        DashPos
' '           Check     drlink        BlankPos
              Eval      Link_File_Name =
                        %subst(drlink:
                        DashPos + 1:
                        (BlankPos - 1) - DashPos)

The results are:
DSAHPOS = 256
BLANKPOS = 1

I am pretty sure that I am doing something wrong... HELP!

TIA!

Peter Vidal
Programmer Analyst
PALL Aeropower Corp.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.