Identifying an IP address

jbv jbv.silences at club-internet.fr
Thu Apr 5 12:11:11 EDT 2007


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




More information about the use-livecode mailing list