Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String authorString = "Originally Posted By:";
- Scanner scanner = new Scanner(clean);
- try {
- while (scanner.hasNextLine()){
- String line = new String(scanner.nextLine());
- String author = new String(line.split(authorString)[1]);
- String[] tmp = author.split("<");
- author = new String(tmp[0]);
- while (clean.contains(author)){
- //if (line.contains(authorString)){
- Log.d("AUTHORS!", author + "\n");
- clean.replace(author, "");
- }
- }
- } catch (Exception e) {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement