![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
#include "harness_export.h"#include <string>#include <string_view>#include <system_error>#include <vector>#include "mysql/harness/stdx/expected.h"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 bool | mysql_harness::ieq (const std::string_view &a, const std::string_view &b) | 
| Compares two string values for equality (case insensitive).  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... | |
| HARNESS_EXPORT stdx::expected< bool, std::error_code > | mysql_harness::bool_from_string (std::string str) | 
| Returns a boolean value parsed from a string.  More... | |
| HARNESS_EXPORT void | mysql_harness::upper (std::string &s) | 
| upper-case a string.  More... | |
| HARNESS_EXPORT std::string | mysql_harness::make_upper (std::string s) | 
| upper-case a string.  More... | |
| HARNESS_EXPORT void | mysql_harness::lower (std::string &s) | 
| lower-case a string.  More... | |
| HARNESS_EXPORT std::string | mysql_harness::make_lower (std::string s) | 
| lower-case a string.  More... | |
| HARNESS_EXPORT std::string | mysql_harness::replace (std::string_view s, std::string_view from, std::string_view to) | 
| Replace string.  More... | |