I have a vector of strings, now how can I delete all spaces from the BEGINNING of each string.
For example: v{"   abc  ", "dd e f", "   b a  "}, after deleting: v{"abc  ", "dd e f", "bb a  "}
            Asked
            
        
        
            Active
            
        
            Viewed 29 times
        
    0
            
            
        
        463035818_is_not_an_ai
        
- 109,796
 - 11
 - 89
 - 185
 
        beginner18
        
- 1
 - 1
 - 5
 
- 
                    2did you try something? Do you know how to remove leading spaces from a single string? – 463035818_is_not_an_ai Apr 26 '21 at 16:20
 - 
                    3What have you tried so far? Hint: `std::string::find_first_not_of`. – Pete Becker Apr 26 '21 at 16:20
 - 
                    I tried with erase, but I failed – beginner18 Apr 26 '21 at 16:21