6
Answers

Splitting an IP address

yokzu

yokzu

13y
1.6k
1
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)