Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test{
- public static void main(String args[]){
- String Str = new String("Добр$о пожаловать на хуй so");
- String slovo = "kek";
- Str = Str.replaceAll("%",slovo);
- Str = Str.replaceAll("$",slovo);
- System.out.println(Str);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement