include/StringUtils.hxx
// stripts whole of sub, not any char in sub
stripts whole of sub, not any char in sub
stripts whole of sub not any char in sub
inline std::string lstripSub(const std::string &s, const std::string &sub)
{
	std::string::size_type p = s.find(sub);
	if (p == std::string::npos)
		return s;
	std::string::size_type b = p + sub.size();
	return s.substr(b, s.size() - b);
}
inline std :: string lstripSub ( const std :: string & s , const std :: string & sub ) { std :: string :: size_type p = s . find ( sub ) ; if ( p == std :: string :: npos ) return s ; std :: string :: size_type b = p + sub . size ( ) ; return s . substr ( b , s . size ( ) - b ) ; }
stripts whole of sub, not any char in sub
stripts whole of sub not any char in sub