Previous Topic: bool Add(const CaString szString)

Next Topic: bool Remove(const CaString szString)


CaString & Find(const CaString szString)

Search for the specified string in the list.

Owning Class

CaStringList

Arguments

const CaString 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; CaString s(“My String”); CaString& rString = d.Find(s);

More information: