Created
February 16, 2016 18:36
-
-
Save ilyaBrandon/45637550d8f2349baf7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Documents { | |
public static void main(String[] args) { | |
String mjQuote = "I've failed over and over and over again in my life and that is why I succed! "; | |
System.out.println(mjQuote.substring(mjQuote.indexOf("again"), mjQuote.indexOf("again") + "again".length())); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment