Find the position of 'search' substring. It returns std::string::npos if not found.
| 238 | // Find the position of 'search' substring. |
| 239 | // It returns std::string::npos if not found. |
| 240 | inline std::string::size_type Find(const std::string & subject, const std::string & search) |
| 241 | { |
| 242 | return subject.find(search); |
| 243 | } |
| 244 | |
| 245 | // Find the position of 'search' substring starting from the end. |
| 246 | // It returns std::string::npos if not found. |
no outgoing calls