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

[REBOL] Re: find/last/part behaviour

From: anton:lexicon at: 22-Dec-2002 14:11

I usually use this to check the extension of a filename etc.: "" = find/last/tail "01234" "234" ;== true You might propose to change the find/reverse inline help from: /reverse -- Backwards from the current position. to: /reverse -- Backwards from the current position (or end of range if /part specified). I can't make up my mind which is better. I think the first way is simpler to implement and doc, but the second way is possibly more consistent, as you say. Anton.