April 5th, 2011, 06: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, 09:55 AM
Treat the string as a dot-delimited list, and get the fourth element.
April 11th, 2011, 03:21 PM
ListGetAt("10.22.134.56", 4, ".")