Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String s = "Хуй хуй хуй хУй ХуЙ";
- public static void main(String[] args) {
- String g = s.toLowerCase();
- String[] strings = g.split(" ");
- for (int i = 0; i < strings.length; i++) {
- }
- int words = strings.length;
- System.out.println(words);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement