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

[REBOL] Re: Newbie : delete the end of string

From: anton:lexicon at: 10-Apr-2002 21:07

Well, I assume you have the string like this: string: {/Gen:showContextHelpCode")} then you can do either remove/part (skip tail string -2) 2 or remove/part find string {"} 2 or, if you want to modify a copy of the string copy/part string back back tail string or copy/part string skip tail string -2 or copy/part string (length? string) - 2 I have a feeling you want to get several strings like this, though? It's not really clear what you want to do. Anton.