StringEx.h
Upload User: jsxglz
Upload Date: 2007-01-03
Package Size: 117k
Code Size: 1k
Category:

SQL Server

Development Platform:

Visual C++

  1. // StringEx.h header file
  2. //
  3. #if !defined(AFX_STRINGEX_H__EC4A985F_BA87_11D1_AE4F_204C4F4F5020__INCLUDED_)
  4. #define AFX_STRINGEX_H__EC4A985F_BA87_11D1_AE4F_204C4F4F5020__INCLUDED_
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. //////////////////////////////////////////////////////////////////////
  9. // StringEx.h
  10. class CStringEx : public CString
  11. {
  12. public:
  13. CStringEx() : CString( ){};
  14. CStringEx(const CString& stringSrc) : CString(stringSrc){};
  15. int Find(LPCTSTR lpszSub, int nStartPos = 0) const;
  16. int FindNoCase(LPCTSTR lpszSub, int nStartPos = 0) const;
  17. };
  18. #endif // !defined(AFX_STRINGEX_H__EC4A985F_BA87_11D1_AE4F_204C4F4F5020__INCLUDED_)