MySQL 8.0.40
Source Code Documentation
|
#include "harness_export.h"
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | mysql_harness |
Functions | |
HARNESS_EXPORT std::vector< std::string > | mysql_harness::split_string (const std::string_view &data, const char delimiter, bool allow_empty=true) |
Splits a string using a delimiter. More... | |
HARNESS_EXPORT void | mysql_harness::left_trim (std::string &str) |
Removes leading whitespaces from the string. More... | |
HARNESS_EXPORT void | mysql_harness::right_trim (std::string &str) |
Removes trailing whitespaces from the string. More... | |
HARNESS_EXPORT void | mysql_harness::trim (std::string &str) |
Removes both leading and trailing whitespaces from the string. More... | |
HARNESS_EXPORT std::string | mysql_harness::limit_lines (const std::string &str, const size_t limit, const std::string &replace_with="") |
Returns the input string with number of lines reduced to selected value. More... | |