Exemple #1
0
	/// @brief Gets a copy of a string with characters of a certain type trimmed from the left.
	/// @param mStr String to trim. (will not be modified)
	/// @param mChar Character to trim.
	/// @return Returns a copy of the string, trimmed.
	inline auto getTrimStrL(std::string mStr, char mChar = ' ') { trimStrL(mStr, mChar); return mStr; }
Exemple #2
0
	/// @brief Gets a copy of a string with characters of a certain type trimmed from the left.
	/// @param mStr String to trim. (will not be modified)
	/// @param mChar Character to trim.
	/// @return Returns a copy of the string, trimmed.
	inline std::string getTrimmedStrL(std::string mStr, char mChar = ' ') { trimStrL(mStr, mChar); return mStr; }