Analyst2004
Technical User
I have a requirement to get the IP's stored in a table in a standard format.
The IP's are as below. I'm just taking into consideration the first Octant currently.
010.
011.
167.
001.
065.
170.
I need to change these in the format below and remove the zero padding.As there are millions of such combinations, I will have to write a code to look for preceding zero(s) and strip them accordingly.
10.
11.
167.
1.
65.
170.
Any hints on how do I go accomplishing this ?
The IP's are as below. I'm just taking into consideration the first Octant currently.
010.
011.
167.
001.
065.
170.
I need to change these in the format below and remove the zero padding.As there are millions of such combinations, I will have to write a code to look for preceding zero(s) and strip them accordingly.
10.
11.
167.
1.
65.
170.
Any hints on how do I go accomplishing this ?