RE: strip .0 off off IPaddress
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22164
interpreted = N
texte = I'm not sure exactly what you are asking, but this technique should workfor all addresses. Basicly what it does is grab each 3-digit chunk with[GetChars], and then [math] converts that string into a number, which hasthe effect of removing any extraneous leading zeros. It won't remove anyzeros that are significant (i.e. non-leading)At 3:31 PM 12/31/98, Olin Lagon wrote:>Thanks Dave. Would this map for all IPaddresses, that if there is a zero it>will always be in the same location?>o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Associated Messages, from the most recent to the oldest:
I'm not sure exactly what you are asking, but this technique should workfor all addresses. Basicly what it does is grab each 3-digit chunk with
[getchars], and then
[math] converts that string into a number, which hasthe effect of removing any extraneous leading zeros. It won't remove anyzeros that are significant (i.e. non-leading)At 3:31 PM 12/31/98, Olin Lagon wrote:>Thanks Dave. Would this map for all IPaddresses, that if there is a zero it>will always be in the same location?>o--------------- Dave MacLeay --+o----------- Digital Frontier --+o--------------- 802.253.8612 --+o--- dave@digitalfrontier.com --+
Dave MacLeay
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:
all records returned. (1997)
[WebDNA] Help setting up server @ Linode.com (2018)
upgrade? (1997)
authenticate (2002)
Emailer setup (1997)
Generating Options for a Form. (1997)
PCS Frames (1997)
WebDNA - Commerce Edition.debug (2005)
docs for WebCatalog2 (1997)
how do I delete 1 of 2 identical records? (2003)
graphing (2004)
Hierarchy of form/text/math variables (2000)
Using Applescript to process WebCatalog functions (1998)
newcart (1997)
NT version (1997)
Summing fields (1997)
[REFERRER] AND Truncation (1998)
Re:[off] Promotions Co? (1997)
PCS Frames (1997)
Errata: WCS Newbie question (1997)