If you just want to detect the presence of IP address lines, you could do something like:

filter tList with "[1-255].[0-255].[0-255].[1-255]"
return (the number of lines in tList <> 0)

Phil Davis



jbv wrote:
Hi list,

does anyone have a function that checks a string
and returns true if it contains an IP address ?
In the data I'm working with, if a string contains
an IP, the whole string is the IP (which means
there isn't any extra junk). I guess this should make
things easier...

so far I'm running a test on strings that returns true
if it contains only numbers and dots... but I wonder
if that's enough...

Thanks,
JB
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to