Use a different delimiter in the Import-Csv, a delimiter that doesn't exist in the csv file. Maybe something like this:
import-csv $InputCSVFile -delimiter ';' -Encoding UTF8 |
ForEach-Object {
$_.IP -split ',' |
ForEach-Object{
Try{
# do somthing with $_
}
Catch{
# doing something failed
}
}
}