X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00b4a13e0c2f37dae491f3743319321b6ab059ea..bd73ba41f93a040ecf9c18040d7f788992d0a6ec:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index 5907c0600d..c7c6893e30 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -629,7 +629,7 @@ public: 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 + // check that the string 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; @@ -638,7 +638,7 @@ public: wxString Left(size_t nCount) const; // get last nCount characters wxString Right(size_t nCount) const; - // get all characters before the first occurence of ch + // get all characters before the first occurance of ch // (returns the whole string if ch not found) wxString BeforeFirst(wxChar ch) const; // get all characters before the last occurence of ch