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