added and documented wxString::StartsWith()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -598,10 +598,15 @@ public:
|
||||
// if nCount = default value)
|
||||
wxString Mid(size_t nFirst, size_t nCount = wxSTRING_MAXLEN) const;
|
||||
|
||||
// operator version of Mid()
|
||||
// operator version of Mid()
|
||||
wxString operator()(size_t start, size_t len) const
|
||||
{ return Mid(start, len); }
|
||||
|
||||
// check that the tring starts with prefix and return the rest of the
|
||||
// string in the provided pointer if it is not NULL, otherwise return
|
||||
// FALSE
|
||||
bool StartsWith(const wxChar *prefix, wxString *rest = NULL) const;
|
||||
|
||||
// get first nCount characters
|
||||
wxString Left(size_t nCount) const;
|
||||
// get last nCount characters
|
||||
|
Reference in New Issue
Block a user