I need to obtain the words framed with a symbols « » in a String:
Example:
String phrase = "«User» of the «application»";
String words[] = phrase.indexOf("«") + phrase.indexOf("»")
words[0] = "User";
words[1] = "application";
The problem is, that solution obtains only the first word: "User" and I need all the words framed...
How can I do that?