help striping a string
Posted: Wed Jan 15, 2003 9:18 am
i'm trying to strip IPs
like...
$ip = "123.456.78.9";
and i want to break it up into
123
456
78
9
so i want to break it up based on the period
i figure i'd have to use strchr, but it only looks for the first instance of "."
any help???
thanks
--pb
like...
$ip = "123.456.78.9";
and i want to break it up into
123
456
78
9
so i want to break it up based on the period
i figure i'd have to use strchr, but it only looks for the first instance of "."
any help???
thanks
--pb