Re: Some pointers please

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69753
interpreted = N
texte = Steve I had to refine an old job and found this code which will do what you want [loop start=140&end=150&advance=1] [Showif [getchars start=[index]&end=[index]][BODYTEXT][/getchars]= ] [math show=F]tEnd=[index]-1[/math][/Showif][/loop] [getchars start=1&end=[tEnd]][BODYTEXT][/getchars]
..... read more » Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 03/02/2008, at 4:30 AM, Steve Craig wrote: > Hi > > I have a little problem with something and my brain isn't working so > any pointers or hints would be good. > > Basically I need to split a large text variable into 2 new > variables, the first 50 or so words into [var1] and then the rest > into [var2] > > It can't be just a set number of chars it must be to the nearest > complete word, and the second var must carry on from that point etc. > > Hope this is clear, any help would be much appreciated. > > Cheers > ======================================== > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Some pointers please ( Stuart Tremain 2008)
  2. Re: Some pointers please ( Stuart Tremain 2008)
  3. Re: Some pointers please ( Donovan Brooke 2008)
  4. Some pointers please ( Steve Craig 2008)
Steve I had to refine an old job and found this code which will do what you want [loop start=140&end=150&advance=1] [Showif [getchars start=[index]&end=[index]][BODYTEXT][/getchars]= ] [math show=F]tEnd=[index]-1[/math][/Showif][/loop] [getchars start=1&end=[tEnd]][BODYTEXT][/getchars]
..... read more » Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 03/02/2008, at 4:30 AM, Steve Craig wrote: > Hi > > I have a little problem with something and my brain isn't working so > any pointers or hints would be good. > > Basically I need to split a large text variable into 2 new > variables, the first 50 or so words into [var1] and then the rest > into [var2] > > It can't be just a set number of chars it must be to the nearest > complete word, and the second var must carry on from that point etc. > > Hope this is clear, any help would be much appreciated. > > Cheers > ======================================== > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > ======================================== > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > ======================================== > > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[math] and ceil (2004) WebSTAR plugin update (2004) Re:Emailer tracking (1997) Protect vs Authenicate (1997) WebMerchant 1.6 and SHTML (1997) How can I record purchases to a database? (1998) WebCat and search engines (1998) ConverChars (1999) Way Off Topic (2003) OT: Apache Question (2003) AutoCommit Preference? (1998) Am I going senile? (Price recalc based on quantity) (1997) why is this line in GeneralStore? (1998) Test! (2003) WebDNA 5.1 is now available! (2003) Performance: deafening silence (1999) WebCat2b15MacPlugin - [protect] (1997) Is this possible, WebCat2.0 and checkboxes (1997) possible, WebCat2.0 and checkboxes-restated (1997) Uh...can someone help me out with the b10? (1997)