I am trying use the first octet of ipaddress, but I can get the array with split function

$ips = split($::ipaddress, '.')
$octet =$ips[0]

case $octet { '192': { notify {"####################### ok$octet ###################":} }
more