April 5th, 2011, 05:06 AM
Splitting the IP address string
I have an IP address in a variable. I want to split the IP address in such a way that I will get the last part of IP address in another variable. please help.
<CFPARAM name="IPaddr" default="10.22.134.56">
My Variable IPaddr changes dynamically in code
I want to get last part 56(any dynamic value) in another variable. any ideas?
April 5th, 2011, 08:55 AM
Treat the string as a dot-delimited list, and get the fourth element.
April 11th, 2011, 02:21 PM
ListGetAt("10.22.134.56", 4, ".")