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

[REBOL] Re: Change/part

From: andrew:wxc at: 24-Feb-2001 8:20

Paul wrote:
> >> string: "0000000000" > == "0000000000" > >> series? string > == true > >> change/part string "2" 4 > == "000000" > >> print head string > 2000000 > Doesn't give me the result I expected. I index 4 of the string to be "2".
Try:
>> string: "0000000000"
== "0000000000"
>> change at string 4 "2"
== "000000"
>> string
== "0002000000" Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/