yokzu

yokzu

  • NA
  • 306
  • 0

Splitting an IP address

May 31 2011 2:57 PM
Hello,
I want to control if an Ip address is private or not. So I want to split Ip address. How can I do that?

For example;
Ip: 192.168.1.2

How can I get only "192", or "168", or "1" ?

Thanks.

Answers (6)