Re: Some pointers please
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69753
interpreted = N
texte = SteveI 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 »RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 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:
SteveI 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 »RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 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:
Exists? (1997)
Summing fields (1997)
WebCat2 - Getting to the browser's username/password data (1997)
determining plug-ins? (1998)
RE: WebCat and image maps (1997)
email code (1998)
Duplicate Emails being sent (2004)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
[WebDNA] [OT] Need to add second SSL host - what are my options? (2010)
WebCat2: multiple currency support (1997)
using showpage and showcart commands (1996)
More on the email templates (1997)
search form problem.. (1997)
re: [addlineitem] working almost (1997)
Help name our technology! I found it (1997)
There's a bug in the math context ... (1997)
WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004)
[ShowNext] (1997)
list archives (2004)
How is it done? (1998)