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

[REBOL] substring question

From: jeff-patton::home::com at: 18-Jan-2001 19:05

Feel like I should be able to answer this myself, but I'm having no luck. I'm trying to extract a substring from a string and I'm crippled by my knowledge of other language functions like lastIndexOf, firstIndexOf and substring. Having trouble trying to adapt rebol's find, copy and remove to do what I want. Basically, given a string like: /C/Rebol/files/ I'd like to do something to get a string back like: "/C/Rebol/" thanks in advance, -Jeff