MCPcopy Create free account
hub / github.com/ARM-software/armnn / StringTrimCopy

Function StringTrimCopy

include/armnn/utility/StringUtils.hpp:88–92  ·  view source on GitHub ↗

Trim from both the start and the end of a string, returns a trimmed copy of the string

Source from the content-addressed store, hash-verified

86/// Trim from both the start and the end of a string, returns a trimmed copy of the string
87///
88inline std::string StringTrimCopy(const std::string& str, const std::string& chars = "\t\n\v\f\r ")
89{
90 std::string strCopy = str;
91 return StringStartTrim(StringEndTrim(strCopy, chars), chars);
92}
93
94/// Takes a vector of strings and concatenates them together into one long std::string with an optional
95/// seperator between each.

Callers 1

ParseStringListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected