Template Function cras::join
Defined in File string_utils.hpp
Function Documentation
-
template<typename T>
::std::string cras::join(const T &strings, const ::std::string &delimiter) Return a string that is a concatenation of elements of
stringsdelimited bydelimiter.- Template Parameters:
T – An iterable type (must support
size()and foreach).- Parameters:
strings – [in] The elements to put into a string.
delimiter – [in] Delimiter put between elements.
- Returns:
The concatenated string.