| 66 | //////////////////////////////////////////////////////////////////////////////// |
| 67 | |
| 68 | [[nodiscard]] TStringBuf TrimLeadingWhitespaces(TStringBuf str Y_LIFETIME_BOUND) |
| 69 | { |
| 70 | auto begin = str.find_first_not_of(' '); |
| 71 | return begin == TStringBuf::npos ? "" : str.substr(begin); |
| 72 | } |
| 73 | |
| 74 | [[nodiscard]] TStringBuf Trim(TStringBuf str Y_LIFETIME_BOUND, TStringBuf whitespaces) |
| 75 | { |
no test coverage detected