Re: [R] Help with text separation

2011-11-14 Thread David Winsemius
On Nov 14, 2011, at 4:20 AM, Michael Griffiths wrote: Good morning R list, My apologies if this has *already* answered elsewhere, but I have not found the answer that I am looking for. I have a character string, i.e. form<-c('~ A + B + C + C / D + E + E / F + G + H + I + J + K + L * M')

Re: [R] Help with text separation

2011-11-14 Thread Sarah Goslee
Hi, On Mon, Nov 14, 2011 at 8:54 AM, Michael Griffiths wrote: > Thank you Sarah, > > Your reply was very helpful. I have the added difficulty that I am not only > dealing with single A-Z characters, but quite often have the following > situation: > > form<-c('~Sentence+LEGAL+Intro+Intro/Intro1+In

Re: [R] Help with text separation

2011-11-14 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 14.11.2011 14:54:05: > Thank you Sarah, > > Your reply was very helpful. I have the added difficulty that I am not only > dealing with single A-Z characters, but quite often have the following > situation: > > form<-c('~Sentence+LEGAL+Intro+Intro/Intr

Re: [R] Help with text separation

2011-11-14 Thread Michael Griffiths
Thank you Sarah, Your reply was very helpful. I have the added difficulty that I am not only dealing with single A-Z characters, but quite often have the following situation: form<-c('~Sentence+LEGAL+Intro+Intro/Intro1+Intro*LEGAL+benefit+benefit/benefit1+product+action+mean+CTA*help') and again

Re: [R] Help with text separation

2011-11-14 Thread Sarah Goslee
Hi, On Mon, Nov 14, 2011 at 4:20 AM, Michael Griffiths wrote: > Good morning R list, > > My apologies if this has *already* answered elsewhere, but I have not found > the answer that I am looking for. > > I have a character string, i.e. > > > form<-c('~ A + B + C + C / D + E + E / F + G + H + I +

[R] Help with text separation

2011-11-14 Thread Michael Griffiths
Good morning R list, My apologies if this has *already* answered elsewhere, but I have not found the answer that I am looking for. I have a character string, i.e. form<-c('~ A + B + C + C / D + E + E / F + G + H + I + J + K + L * M') Now, my aim is to find the position of all those instances o