Previous Topic: bool Add(LPCTSTR szString)

Next Topic: bool Remove(LPCTSTR szString)


CaString & Find(LPCTSTR szString)

Search for the specified string in the list.

Owning Class

CaStringList

Arguments

LPCTSTR szString - string to search for

Return Value

CaString& - reference to found string.

Notes

Returns NULL string reference if not found. Use CaString::IsValid() to test results of find.

Example

CaStringList d; bool bResult = d.Find(“My String”);

More information: