Changeset 67650 in vbox for trunk/src/VBox/Runtime/common/string/ministring.cpp
- Timestamp:
- Jun 27, 2017 4:55:17 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/ministring.cpp
r67645 r67650 372 372 } 373 373 374 bool RTCString::contains(const char *pszNeedle, CaseSensitivity cs /*= CaseSensitive*/) const 375 { 376 /** @todo r-bird: Not checking for NULL strings like startsWith does (and 377 * endsWith only does half way). */ 378 if (cs == CaseSensitive) 379 return ::RTStrStr(m_psz, pszNeedle) != NULL; 380 return ::RTStrIStr(m_psz, pszNeedle) != NULL; 381 } 382 374 383 int RTCString::toInt(uint64_t &i) const 375 384 {
Note:
See TracChangeset
for help on using the changeset viewer.