Find contents of iCal fields

ic_find(x, pattern)

Arguments

x

Lines read-in in from an iCal file

pattern

A text string to search from (an ical field)

Examples

pattern = "DTSTAMP"
ic_find(ical_example, pattern)
#>  [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE  TRUE FALSE
#> [13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE