Here is my question: I want to print like this without using split function

Input: Rushikesh Balchand Chaudhari

Output: Rushikesh.b.c

```
class Test {
public static void main(String[] args) {
    String str = "Rushikesh  Balchand Chaudhari";
    String [] arr = str.split("\\s+");
    StringBuilder builder = new StringBuilder(arr[0]);
    for(int i =1 ; i < arr.length ;i++){
        builder.append(".");
        builder.append(arr[i].toLowerCase().charAt(0));
    }
    System.out.println(builder);
}

```

}