Functions | |
UHD_API std::pair< std::string, std::string > | split (const std::string &str, const std::string &delim) |
UHD_API std::pair< std::string, std::string > uhd::string::split | ( | const std::string & | str, |
const std::string & | delim | ||
) |
Split a string using a delimiter. The delimiter must be a substring of the original string.
str | the string to be split |
delim | the delimiter in str used to determine the position of the split |
uhd::runtime_error | if the delimiter is not found in the original string |