Question: Which function returns `[1] TRUE FALSE TRUE`?

  1. grepl("[Rd|Ave|Dr|St]", indat)
  2. grepl("Rd|Ave|Dr|St", indat)
  3. grepl("Rd,Ave,Dr,St", indat)
  4. grepl("[Rd],[Ave],[Dr],[St]", indat)

Answer: The correct answer of the above question is Option B:grepl("Rd|Ave|Dr|St", indat)