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

[REBOL] Re: Newbie Q: Cropping text

From: lmecir:mbox:vol:cz at: 4-Jul-2002 0:27

Hi Matt, do you mean something like: copy/part "asdfghjkl" 3 ; == "asd" -L ----- Original Message ----- From: "Matthew Kim" <[kimm2--mcmaster--ca]> To: <[rebol-list--rebol--com]> Sent: Wednesday, July 03, 2002 9:49 PM Subject: [REBOL] Newbie Q: Cropping text What line of code in REBOL will crop text? (Without loops) For example, I want the first 3 characters in the string "asdfghjkl". Result should be: "asd". Thanks! Matt