id=$(GetScenarioID "string")
Collection of functions for scenarios.
Returns the identifier (name) of a scenario for a given input string.
| Arguments | Return (print) |
|---|---|
$1: the input string to test for a scenario identifier |
Success: long form of the scenario Error: empty string |
id=$(GetScenarioID "string")