Re: strip .0 off off IPaddress

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22162
interpreted = N
texte = >Another way to do the same thing: > >[math][GetChars start=1&end=3][IPAddress][/GetChars][/math].[math][GetChars >start=5&end=7][IPAddress][/GetChars][/math].[math][GetChars >start=9&end=11][IPAddress][/GetChars][/math].[math][GetChars >start=13&end=15][IPAddress][/GetChars][/math]The [math] context gets rid of leading zeros! Of course it does. They are extraneous in a numeric value. This is a very cool technique! :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. RE: strip .0 off off IPaddress (Olin Lagon 1998)
  2. RE: strip .0 off off IPaddress (The Mooseman 1999)
  3. RE: strip .0 off off IPaddress (Dave MacLeay 1999)
  4. RE: strip .0 off off IPaddress (The Mooseman 1998)
  5. RE: strip .0 off off IPaddress (Dave MacLeay 1999)
  6. Re: strip .0 off off IPaddress (Kenneth Grome 1998)
  7. RE: strip .0 off off IPaddress (Olin Lagon 1998)
  8. Re: strip .0 off off IPaddress (Dave MacLeay 1998)
  9. strip .0 off off IPaddress (Olin Lagon 1998)
>Another way to do the same thing: > >[math][GetChars start=1&end=3][ipaddress][/GetChars][/math].[math][GetChars >start=5&end=7][ipaddress][/GetChars][/math].[math][GetChars >start=9&end=11][ipaddress][/GetChars][/math].[math][GetChars >start=13&end=15][ipaddress][/GetChars][/math]The [math] context gets rid of leading zeros! Of course it does. They are extraneous in a numeric value. This is a very cool technique! :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net 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:

More on the email templates (1997) IIS Brain Dead (1998) taxrate - off by 1 cent (1997) Setting up the server (1997) Bannersleuth (2000) Multiple prices (1997) [format xs] freeze (1997) FEATURE REQUEST: Auto Resizing of images (2002) Showing unopened cart (1997) OT Cookie limit (2001) Can you do this??? and other stuff (1997) Fwd: checkboxes (2000) WebCat2: Items xx to xx shown, etc. (1997) WebCat2.0 [format thousands .0f] no go (1997) Setting up shop (1997) Re:2nd WebCatalog2 Feature Request (1996) Q: Japanese Kanji code support? (2000) RE: format problem on NT? (1997) Bad dates/times on a Windows server? (2002) no global [username] or [password] displayed ... (1997)