I am trying to remove whitespaces from string but it is not working
string status = "                                       18820 Pacific Coast Highway
                                        Malibu, CA 90265";
        string status1 = status.Trim();
        Console.Write(status1);
The above code is not working
Expected Output:
18820 Pacific Coast Highway Malibu, CA 90265
 
     
     
    