CountChars
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59586
interpreted = N
texte = 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/
Associated Messages, from the most recent to the oldest:
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/
Patrick J.
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:
Re:no [search] with NT (1997)
Cannot calculate prices (1997)
Price question (1998)
Emailer setup (1997)
orders (1998)
Shopping Cart variation... (1997)
Template Security error (1997)
Silence before the storm? (2004)
Searchable WebCat (etc.) Docs ? (1997)
Comments in db? (1997)
[BoldWords] WebCat.acgib15Mac (1997)
PIXO with cometsite ... and/or other plugins (1998)
WebCat2.0 [format thousands .0f] no go (1997)
Imagemagick and fonts (2004)
WebDNA Solutions ... sorry! (1997)
[replace][founditems]? (2004)
WebDNA 5.0 freeBSD?!!? (2003)
Online reference (1997)
command line in webDNA 5?! (2003)
no [search] with NT (1997)