Function axr::sdk::utils::strings::GetParameters

Function Documentation

std::vector<utility::string_t> axr::sdk::utils::strings::GetParameters(const utility::string_t &str)

Given a string containing a set of parameterized sub-strings (e.g. /my/path/{id}/with/{params}) this function will return a list of all parameters in that string.

Example: Given the string /objects/{parentId}/children/{id} would return a list with the following entries.

  • parentId

  • id