Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Lesson_1 {
- public static void main(String[] args) {
- String mjQuote = "I'm failed over and over and over again in my life and that is why I succeed!";
- System.out.println(mjQuote.substring((mjQuote.indexOf("again")), ((mjQuote.indexOf("again")) + "again".length())));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement