Skip to contents

Coerce a string in team formatting to an int

Usage

id2int(id, prefix = "frc")

Arguments

id

TBA-legal team formatted string (i.e. "frc3504")

prefix

string prefix for id (in overwhelming majority of cases "frc")