Granada  1.54.0
Structured layer on top of C++ REST SDK for building server applications in C++. Granada implements sessions, server side plug-in framework, C++ OAuth 2.0 server, data storage access, server script running, server browsing.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
granada::util::vector Namespace Reference

Functions

static std::string stringify (const std::vector< std::string > &elems, const char *delim)
 

Detailed Description

Utils for vector manipulation.

Function Documentation

static std::string granada::util::vector::stringify ( const std::vector< std::string > &  elems,
const char *  delim 
)
static

Convert a vector of strings into a string of elements separated by given delimiter. Example: ["hello","world","John","Doe"] ==[strigify with delimiter = ',']==> hello,world,John,Doe

Parameters
elemsVector of strings to stringify.
delimDelimiter that will be between the elements in the resultant string.
Returns
Stringified vector.