<!--#set var="ip_list" value="192.168.1.3,192.168.2.10,127.0.0.1" -->
<!--#if expr="192.168.2.10 in split( /\,/, $ip_list )" -->
Found the ip in the list.
<!--#else -->
Nope, it failed.
<!--#endif -->