I have the following question. As input I have a datename, which must have a certain nomenclature, like
- Footballfield_01_CampNou_108m_Length_68.5_Width
- Footballfield_02_Bernabeau_105m_Length_68.5_Width
For the width the meter is missing. But I cannot change the name and have to work with this. My task now is to write a code, which extracts only the length and the width from the data name to calculate the area on it. I have had several ideas, but these are error-prone and not robust enough. My idea now is based on knowing that I have an integer value (length) and a float value (width). I want to write a code that finds the float value and the integer value in the string and assigns them to the width and length but I can't find any way, can anyone help me?