--- parser3/src/include/pa_string.h 2001/05/21 16:38:46 1.95 +++ parser3/src/include/pa_string.h 2001/07/07 17:59:02 1.97 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.95 2001/05/21 16:38:46 parser Exp $ + $Id: pa_string.h,v 1.97 2001/07/07 17:59:02 parser Exp $ */ #ifndef PA_STRING_H @@ -185,7 +185,7 @@ public: int pos(const String& substr, size_t this_offset=0, Untaint_lang lang=UL_UNSPECIFIED) const; /// @return position of substr in string, -1 means "not found" [const char* version] - int pos(const char *substr, size_t substr_size, + int pos(const char *substr, size_t substr_size=0, size_t this_offset=0, Untaint_lang lang=UL_UNSPECIFIED) const; void split(Array& result, @@ -218,8 +218,8 @@ public: }; String& change_case(Pool& pool, const unsigned char *pcre_tables, Change_case_kind kind) const; - double as_double(); - int as_int(); + double as_double() const; + int as_int() const; #ifndef NO_STRING_ORIGIN /// origin of string. calculated by first row