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


From: ingo:2b1 at: 4-Nov-2002 21:28

Hi Louis, Louis A. Turk wrote:
> Hi rebols, > > >> x: replace/all x #"=FF" #"" > == [{Bi,bloj =FFbi,bloj =FFnnfs gene,sewj =FFge,nesij =FFngfs VIhsou/ > =FFVIhsou/j =FFngms Cristou/( =FFCristo,j =FFngms ui`ou/ =FFui`o,j =FFng... > > Why didn't replace do it job?
Have a careful look at what x points at. It's a block! containing a string!. So, when you aim replace at 'x, it doesn't find the character #"=FF", but the string {Bi,bloj =FFbi,bloj =FFnnfs gene,sewj =FFge,nesij =FFn...}. To do what you want, the following will do the trick: y: replace/all first x #"=FF" #"" == {Bi,bloj ^@bi,bloj ^@nnfs gene,sewj ^@ge,nesij ^@ngfs VIhsou/ ^@VI} I hope that helps. Kind regards, Ingo