| 828 | typename alloc |
| 829 | > |
| 830 | const std::basic_string<charT,traits,alloc> right_substr ( |
| 831 | const std::basic_string<charT,traits,alloc>& str, |
| 832 | const std::basic_string<charT,traits,alloc>& delim |
| 833 | ) |
| 834 | { |
| 835 | typename std::basic_string<charT,traits,alloc>::size_type delim_pos = str.find_last_of(delim); |
| 836 | if (delim_pos != std::basic_string<charT,traits,alloc>::npos) |
| 837 | return str.substr(delim_pos+1); |
| 838 | else |
| 839 | return _dT(charT,""); |
| 840 | } |
| 841 | |
| 842 | template < |
| 843 | typename charT, |