Hello!
I got strings like this "100%", "2%", "40%" and so on...
How do I remove the % and only extract the numbers into a second int variable?
Thanks!
substr($str 0, -1)
Cheers
-1 😃 cool