@@ -425,7 +425,7 @@ class String : public std::basic_string<char32_t>
425
425
inline Split SplitByAny (String const &str, size_t pos = 0 ) const { return Split (*this , pos, super::find_first_of (str, pos), 1 , false ); }
426
426
inline Split SplitByNot (String const &str, size_t pos = 0 ) const { return Split (*this , pos, super::find_first_not_of (str, pos), 1 , false ); }
427
427
inline Split SplitFromEndBy (value_type ch, size_t pos = npos) const { return Split (*this , pos, super::rfind (ch, pos), 1 , true ); }
428
- inline Split SplitFromEndBy (String const &str, size_t pos = npos) const { return Split (*this , pos, super::find (str, pos), str.size (), true ); }
428
+ inline Split SplitFromEndBy (String const &str, size_t pos = npos) const { return Split (*this , pos, super::rfind (str, pos), str.size (), true ); }
429
429
inline Split SplitFromEndByAny (String const &str, size_t pos = npos) const { return Split (*this , pos, super::find_last_of (str, pos), 1 , true ); }
430
430
inline Split SplitFromEndByNot (String const &str, size_t pos = npos) const { return Split (*this , pos, super::find_last_not_of (str, pos), 1 , true ); }
431
431
private:
0 commit comments