Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Trimming IP Addresses
Hello,
I am looking for a function that will allow me to trim off the right
octet of an ip address. ie. go from 192.168.1.255 to 192.168.1
I tried using a rtrim function using a wildcard such as
rtrim(ipaddress, '.%') but it doesn't give me anything. Any help or
advice would be much appreciated.
Thanks,
Josh
Received on Thu Jun 08 2006 - 09:24:05 CDT
![]() |
![]() |