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 0:50

Hi Patrick,
>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 ?
The answer is the argument of the Part refinement. From doc: For series, the /PART refinement will copy [change remove] a given number of values (specified as either a count or as an ending series position). If the argument si an integer, it is a length value, if a series, it is the pointer to the end. In the latter, the index is implicit: it is derived from the position in the series. --- Ciao Romano