Jump to content

ElOrAnElle

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ElOrAnElle

  1. Melba23, I was all set to post some sample code which looks like something the cat threw up compared to yours. but that's done exactly what I wanted. Thanks! I will remember to include the samples first, next time I have a question. jchd thanks for your quick reply, silly of me not to include any source (though at the time all I had was text and a scratched head). And czardas, it's nice code, and I didn't think of just using replace like that. A 'duh' light bulb idea, so simple yet so effective!
  2. Hi, new here, but haven't been able to figure this one out. I have a large amount of text I want to split (into an array ideally). There's no straight string delineating the text but I have a regexp to match where I want to split. I want the array to include all the source text and each new element to start with the matching regular expression. I'm probably missing something very dumb: anyone see fit to set me straight? Thanks!
×
×
  • Create New...