トップページ
⇒
tech
1001コメント
253KB
【C++】STL(Standard Template Library)相談室
全部
前100
次100
最新50
■ このスレッドは過去ログ倉庫に格納されています
0802
デフォルトの名無しさん
NG
NG
std::string trim (const std::string& src, const std::string& space = " \t\r\n")
{
std::string::size_type b = src.find_first_not_of(space);
return src.substr(b, src.find_last_not_of(space) - b);
}
最発明ってほどのことでもないだろ
全部
前100
次100
最新50
■ このスレッドは過去ログ倉庫に格納されています