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

[REBOL] Re: Removing last characters from string

From: sunandadh:aol at: 5-Jan-2003 15:46

Frantisek:
> Is there a simpler way to remove last 2 characters from string than this: ? > str: head clear skip tail str -2
Simpler is subjective :-) I'd write: str: copy/part str -2 + length? str Sunanda.