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

[REBOL] Re: [FIND] [FoxPro] Re: Find? Copy/Part?

From: gabriele:colellachiara at: 19-Jan-2005 16:04

Hi Anton, On Wednesday, January 19, 2005, 3:56:33 PM, you wrote: AR> Can someone tell me why I get different results for n = 0 AR> with these two variants? Hmm, it might be an implementation side effect. But that leads us to: find-nth: func [ "Returns the series at occurrence N of value or none." series [series!] value n [integer!] /local pos ] [ n: n - 1 parse series [ n [thru value] to value pos: ] pos ] Regards, Gabriele. -- Gabriele Santilli <> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: