Re: IP Address
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36767
interpreted = N
texte = >> Yes, use getchars to grab each of the four 3-digit sections, then>> wrap each section in a math context. Whenever a number is placed in a>> math context, it gets rid of the extraneous leading zeros if there>> are any.>>I like it like this:>>[text]realip=[listwords>words=[ipaddress]&delimiters=.][math][word][/math][hideif>[index]=4].[/hideif][/ListWords][/text]I agree. I like the *appearance* of this code better than my getchars solution as well, but my getchars code runs a bit faster.=================================================Kenneth Grome WebDNA Consultanttelephone number: 011 63 32 486-9077telephone number: 011 63 919 749-0060business web site: http://webdna.netpersonal web site: http://kengrome.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>> Yes, use getchars to grab each of the four 3-digit sections, then>> wrap each section in a math context. Whenever a number is placed in a>> math context, it gets rid of the extraneous leading zeros if there>> are any.>>I like it like this:>>[text]realip=[listwords>words=[ipaddress]&delimiters=.][math][word][/math][hideif>[index]=4].[/hideif][/ListWords][/text]I agree. I like the *appearance* of this code better than my getchars solution as well, but my getchars code runs a bit faster.=================================================Kenneth Grome WebDNA Consultanttelephone number: 011 63 32 486-9077telephone number: 011 63 919 749-0060business web site: http://webdna.netpersonal web site: http://kengrome.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://search.smithmicro.com/
Kenneth Grome
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:
Bug Report, maybe (1997)
Grant, please help me ... (1997)
Conditional searching & displaying (1997)
Locking up with WebCatalog... (1997)
E-mail Attachments (1997)
Addlineitems SKU peramiter (2002)
[HIDEIF] inside [FOUNDITEM] (1997)
Missing something simple? (1999)
[TaxableTotal] - not working with AOL and IE (1997)
minimalist shopping cart. (1997)
test (2002)
problems with 2 tags (1997)
Webcat deletes last line from Excel-saved text db (2004)
splitting numbers in webDNA? (1997)
How can I Add several Items into the cart at once? (1997)
many-to-one problem (1998)
Nested tags count question (1997)
Webmerchant email misinterpreted tags (1998)
Email Problem (1997)
WebCatalog can't find database (1997)