join()

Data / String Functions

Description

Combines a vector of strings into one string using a separator.

Syntax

std::string join(std::vector v, std::string sep)

Parameters

NameTypeDescription
vstd::vectorthe strings to join
sepstd::stringseparator string

Returns

std::string

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...