You are here: C++ Support Classes > dtSearch Namespace > Classes > DString Class > contains Method
> DString::contains Method (const char *)
DString::contains Method (const char *)
Close
dtSearch Text Retrieval Engine Programmer's Reference
DString::contains Method (const char *)

Returns true if substr occurs in this string

Syntax
C++
bool contains(const char * substr) const;
Copyright (c) 1995-2020 dtSearch Corp. All rights reserved.