NUMBER
This script returns a number from the given string or instances.
FORMAT: NUMBER (string) or NUMBER (instances)
DEFINITIONS:
- String: A string that can be converted to a number. An empty string “” will convert to 0.
- Instances: Instances that you intend to search for labels that contain numbers.
EXAMPLE 1
show number ("-5") + 8
Shows 3.
EXAMPLE 2
show number ("")
Shows 0.
EXAMPLE 3
show number (instances)
Shows the first label number from the first instance in the timeline.
EXAMPLE 4
$var = instances where row = "Test Row 2"
show number ($var, 2)
Shows a valid label number from the second instance in the row "Test Row 2".