$third = Trim(Split(@ipaddress0,".")[2])

will return the third octet

if you are wanting to see if the $third is in a list of values.

$third = Trim(Split(@ipaddress0,".")[2])
if instr('236 237 239 241 242',$third)
? "third octect is in the above list"
endif
_________________________
How to ask questions the smart way <-----------> Before you ask