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

[REBOL] Re: Newbie Q: Cropping text

From: chris:ross-gill at: 3-Jul-2002 17:39

Hi Matt,
> For example, I want the first 3 characters in the string "asdfghjkl". > > Result should be: "asd".
If you want to 'crop' a string! or any kind of series!, use copy --
>> copy/part "asdfghjkl" 3
== "asd" - Chris