MySQL 8.0.29
Source Code Documentation
string_utils.h File Reference
#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...