Re: CountChars
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59587
interpreted = N
texte = [text show=F]TheSku=[sku][/text][countchars][TheSku][/countchars]If the count chars comes up as 5 again, then you having an issue with the results.Are you sure you have the tag inside the [founditems] tags?Brian----- Original Message ----- From: "Patrick J."
To: "WebDNA Talk" Sent: Wednesday, October 13, 2004 11:14 AMSubject: CountChars> Hi everyone.>> I have a system that, as the result of some changes and updates, is > dealing with two different SKU lengths. One has 7 digits, the other has > 10. For the most part it makes no difference. However, there is a feature > I need to program that will need to assess the number of digits in the SKU > so that those with 7 digits can be handled differently than those with 10.>> When I use [countchars][sku][/countchars] it only gives me "5" (the number > of characters in [sku]). It doesn't actually INTERPRET the [sku] field > before counting the characters. And no, using the [interpret] tag didn't > help me either. Clearly, I'm missing something ridiculously simple.>> Anyone know what that might be? I'm using 4.5.1 on OS X.>> Thanks,>> -----> Patrick Junkroski>>> -------------------------------------------------------------> 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:
[text show=F]TheSku=[sku][/text][countchars][TheSku][/countchars]If the count chars comes up as 5 again, then you having an issue with the results.Are you sure you have the tag inside the [founditems] tags?Brian----- Original Message ----- From: "Patrick J." To: "WebDNA Talk" Sent: Wednesday, October 13, 2004 11:14 AMSubject: CountChars> Hi everyone.>> I have a system that, as the result of some changes and updates, is > dealing with two different SKU lengths. One has 7 digits, the other has > 10. For the most part it makes no difference. However, there is a feature > I need to program that will need to assess the number of digits in the SKU > so that those with 7 digits can be handled differently than those with 10.>> When I use [countchars][sku][/countchars] it only gives me "5" (the number > of characters in [sku]). It doesn't actually INTERPRET the [sku] field > before counting the characters. And no, using the [interpret] tag didn't > help me either. Clearly, I'm missing something ridiculously simple.>> Anyone know what that might be? I'm using 4.5.1 on OS X.>> Thanks,>> -----> Patrick Junkroski>>> -------------------------------------------------------------> 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/
"Brian Boegershausen"
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:
Encrypting the seed (2001)
textA (1998)
Limitations on fields? Server is crashing (1997)
flushdatabases (1997)
WebCatalog vs. Cold Fusion (1998)
Repost: Upload file limits (2000)
syntax question, not in online refernce (1997)
Exclamation point (1997)
[WebDNA] Snow Leopard (2009)
Looking for Experienced WebDNA Developer (2006)
PR: WebCatalog Affiliates Program Announced -- Share the (2000)
Feature req. (2002)
WebCatalog for Postcards ? (1997)
embedding commands in form (1999)
Sandboxes & Kitty Litter trays (2003)
This message couldn't reach the list! (1998)
Dreamweaver Extensions for WC (2000)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Running 2 two WebCatalog.acgi's (1996)