My select_one menu has a list of plants (scientific name then a hyphen then the common name)
eg. Quercus rubra - Red Oak
I would like to display just the scientific name on the output. Is there a way to split the string into 2 substrings using that hyphen as a marker? I'd like to do something like ${ species | substr(getValue:"",'-')} kind of function call
Or some other idea that accomplishes the same?
Thanks