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

[REBOL] Re: [copy//part] copy/part inconsistent ?

From: AJMartin::orcon::net::nz at: 24-Nov-2004 7:15

> I'm a bit confused about the behaviour of copy/part as it appears > inconsistent: > > >> str: "123456789" > == "123456789" > >> copy/part str find str "9" > == "12345678" > >> copy/part str index? find str "9" > == "123456789" >> index? str
== 1 The string index starts at 1, not 0. --- Andrew Martin Who's not dying! :) ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://valley.150m.com/