Removing an aspect of a variable...
| From: | Rob W. | Date: | Tue, 06 Jun 2006 07:37:41 +0000 |
| Subject: | Removing an aspect of a variable... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-237443@lists.php.net to get a copy of this message | ||
Say I have a variable setting an ip address of 192.168.100.0
I want to be able to remove the last to chr's of that variable ie: .0
What would be my best solution to do that?