LABEL IN

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

This script will return a label in the instances of the timeline (no need to specify a row). If an instance has 3 labels, it will return the instance 3 times.


FORMAT: label string IN instances


DEFINITIONS:

  • string: the name of the label
  • instances: any command that returns instances

EXAMPLE 1:

show count label "a" in instances limit 1

Returns the total number of labels in the first instance in the timeline with "a" in them.