Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Trimming IP Addresses

Trimming IP Addresses

From: jhulst <josh.hulst_at_gmail.com>
Date: 8 Jun 2006 07:24:05 -0700
Message-ID: <1149776645.026569.240750@h76g2000cwa.googlegroups.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US