My strings are something like that:
str1 = "3,5 of 5 stars"
str2 = "4 of 5 stars"
I want to extract the first number of each string.
Something like that:
str1 = 3,5
str2 = 4
The Problem is that the numbers are in two formats (int and float)
I hope you guys can help me
Thanks for your help