I have seen one answer regarding to this same question but when I tried it with my problem it get confused.
here is my string,
bit_rate = "bitrate: 2334 kb/s"
I need to get the 2334
from this string and assign it into a integer variable..
how is this possible in qt creator. I tried toInt()
, but it always gives 0
as the answer.