What if I have a string like these?
DANIEL JOHNS - GUITARIST - SILVERCHAIR
And I want to get just the word GUITARIST
from the string? How I supposed to do it?
Will I do 2 strpos?
Actually I tried 2 strpos already but on the second one, the dash is still there. so I got
the position of the first “-” again, thus generating an error.
or there is a shorter way to do it?
Thanks guys