Problem

Return true if line starts with the given header string.

Examples

  • startsWithHeader("ID,score", "ID") -> true
  • startsWithHeader("name", "ID") -> false
Compile and test (Ctrl+Enter)