Skip to content

Instantly share code, notes, and snippets.

@ilyaBrandon
Created February 16, 2016 19:01
Show Gist options
  • Save ilyaBrandon/508ef9126c8f17bd7949 to your computer and use it in GitHub Desktop.
Save ilyaBrandon/508ef9126c8f17bd7949 to your computer and use it in GitHub Desktop.
public class Documents {
public static void main(String[] args) {
String mtQuote = "lets us always meet each other with smile,for the smile isthe beginning of love";
System.out.println(mtQuote.replace("smile",":)"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment