| 823 | typename alloc |
| 824 | > |
| 825 | const std::basic_string<charT,traits,alloc> right_substr ( |
| 826 | const std::basic_string<charT,traits,alloc>& str, |
| 827 | const std::basic_string<charT,traits,alloc>& delim |
| 828 | ) |
| 829 | { |
| 830 | typename std::basic_string<charT,traits,alloc>::size_type delim_pos = str.find_last_of(delim); |
| 831 | if (delim_pos != std::basic_string<charT,traits,alloc>::npos) |
| 832 | return str.substr(delim_pos+1); |
| 833 | else |
| 834 | return _dT(charT,""); |
| 835 | } |
| 836 | |
| 837 | template < |
| 838 | typename charT, |
no outgoing calls