Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String analizaTekstu(String tekst, String format) {
- if (format == "Rozstrzelony") {
- tekst = tekst.replaceAll("", " ");
- tekst = tekst.replaceAll(" ", " ");
- tekst = tekst.substring(1, tekst.length()-1);
- System.out.println(tekst);
- return tekst;
- }
- else return tekst;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement