getCoresFromFileString

Converts from a CPU core information format to number of cores.

Return

The number of cores represented by this string

Parameters

str

The CPU core information string, in the format of "0-N"