SHARE
TWEET

Untitled

elvirynwa Feb 28th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (int i = 0; i < lessons.size(); i++) {
  2.            
  3.             String currentElement = lessons.get(i);
  4.             if (currentElement.contains("+ex")) {
  5.                 currentElement.replaceAll("\\+ex", "");
  6.  
  7.                 //System.out.println(currentElement.replaceAll("\\+ex","") + "-Exercise");
  8.             }
  9.             System.out.printf("%d.%s%n", i + 1, lessons.get(i));
  10.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top