Function email::utils::payload::cut_string_if_newline
Defined in File payload_utils.hpp
Function Documentation
-
std::string email::utils::payload::cut_string_if_newline(const std::string &string)
Cut a string before a newline if needed.
- Parameters:
string – the string
- Returns:
the string cut before a newline, if needed