Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: How to change a file extension ?

From: rotenca:telvia:it at: 14-Jan-2002 2:44

Hi Patrick,
> file: %/c/rebol/prog.r/program.r > find/last file "." > == %.r > > So it returns the end of the file (or the end of the string in my previous > post). However you are both using it as it was returning a position. What is > wrong with me ?
I had misinterpreted your question. My answer is: find/last does not return the end of the series, but start from the end of the series to search. It return the series at the position in which the search stop. In the example at the position of "." in the 'file series. --- Ciao Romano