Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Manipulation 1

Status
Not open for further replies.

Analyst2004

Technical User
Jan 5, 2004
12
US
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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top