how can i split the string
package de.codegym.task.task10.task1011;
/*
Dickes Gehalt
*/
public class Solution {
public static void main(String[] args) {
String s = "Ich will nicht Java lernen. Ich will ein dickes Gehalt";
//schreib hier deinen Code
for (int i = 0; i <= 42; i++){
System.out.println(s);
}
}
}