and then back to 2 lines for one more feature... > set the itemdelimiter to "/"; put last item of myFilePath into myFilename > set the itemdelimiter to "."; put last item of myFilename into myExtension
On 7/5/06 9:14 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote: > Hi Bill and Robert, > >> Two lines: >> >> set the itemdelimiter to "/" >> put the last item of myFilePath >> >> "Robert Sneidar" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> Is there a way to scan a text string from end to beginning for >>> something >>> without using a loop? I am trying to "be binary" (for those of you >>> conference goers) and I am trying to extract just a file's name >>> from the >>> full path. It seems to be something of a difficult thing to do in >>> a one >>> liner. > > or a one-liner (whith a little bit of cheating!) > > ... > set the itemdelimiter to "/"; put last item of myFilePath > ... _______________________________________________ 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
