|
|
| version 1.57, 2001/03/29 17:11:40 | version 1.60, 2001/04/02 09:29:17 |
|---|---|
| Line 82 public: | Line 82 public: |
| /// piece is tainted or not. the language to use when detaint | /// piece is tainted or not. the language to use when detaint |
| enum Untaint_lang { | enum Untaint_lang { |
| UL_UNKNOWN=0, ///< when get by name fails | UL_UNKNOWN=0, ///< zero value handy for hash lookup @see untaint_lang_name2enum |
| UL_NO, ///< clean | UL_NO, ///< clean |
| UL_YES, ///< tainted, untaint language as assigned later | UL_YES, ///< tainted, untaint language as assigned later |
| // untaint languages. assigned by ^untaint[lang]{...} | // untaint languages. assigned by ^untaint[lang]{...} |
| Line 162 public: | Line 162 public: |
| /// extracts [start, finish) piece of string | /// extracts [start, finish) piece of string |
| String& piece(size_t start, size_t finish) const; | String& piece(size_t start, size_t finish) const; |
| /// @return position of substr in string, -1 means "not found" | /// @return position of substr in string, -1 means "not found" [String version] |
| int pos(const String& substr) const; | int pos(const String& substr, size_t this_offset=0) const; |
| /// @return position of substr in string, -1 means "not found" [const char* version] | |
| int String::pos(const char *substr, size_t result) const; | |
| #ifndef NO_STRING_ORIGIN | #ifndef NO_STRING_ORIGIN |
| /// origin of string. calculated by first row | /// origin of string. calculated by first row |