There is a line add J. Martin "A Song of Ice and Fire" and I need to break it into three parts. The first is add , the second автор and the third название книги .
Tell me what's best.
Found a way like this:
Pattern pattern = Pattern.compile(" "); String[] values = pattern.split(value) but every time after that, to collect piece by piece is somehow not ok, what other ways are there? Thank!