I have a program that is calculating the value of a sign based on the square footage and a fee per character. I need to remove the whitespaces to accurately count the number of characters, but is using .replace and .replaceAll, i have found that when i print the resulting string, everything after the first whitespace is removed. For example, if I entered "Welcome to java" when user is prompted to assign a value to the String variable, text, textCrop would simply print "Welcome" after the text.replaceAll line runs. What am I doing wrong?

```
    //calculate price of text and add values
            textCrop = text.replaceAll(" ", "");       //heres where I'm trying to remove whitespaces
            System.out.println(textCrop);
            textPrice = ((text.length() + 1)    * 1.45);
            finalPrice = textPrice + sizePrice;
            System.out.print("$");

```