Trim from both the start and the end of a string, returns a trimmed copy of the string
| 86 | /// Trim from both the start and the end of a string, returns a trimmed copy of the string |
| 87 | /// |
| 88 | inline 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. |