Add a subroutine to find ical parameters in content lines.
Use new subroutine.