Skip to content

Instantly share code, notes, and snippets.

@e-tverdokhleb
Created November 2, 2015 14:03
Show Gist options
  • Save e-tverdokhleb/6b7ba85c06c5110f36fd to your computer and use it in GitHub Desktop.
Save e-tverdokhleb/6b7ba85c06c5110f36fd to your computer and use it in GitHub Desktop.
public class Lesson1_HomeWork {
public static void main(String[] args) {
String mjQuote = "I've falied over and oevr and over again in my life and thats is why I succeed!";
System.out.println(mjQuote.substring(mjQuote.length()-1-7, mjQuote.length()-1));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment