pistring remove indexOf*
This commit is contained in:
@@ -860,17 +860,14 @@ public:
|
||||
//! \~english Search symbol "c" from symbol at index "start" and return first occur position
|
||||
//! \~russian Ищет символ "c" от символа "start" и возвращает первое вхождение
|
||||
int find(const char c, const int start = 0) const;
|
||||
int indexOf(const char c, const int start = 0) const {return find(c, start);}
|
||||
|
||||
//! \~english Search symbol "c" from symbol at index "start" and return first occur position
|
||||
//! \~russian Ищет символ "c" от символа "start" и возвращает первое вхождение
|
||||
int find(PIChar c, const int start = 0) const {return d.indexOf(c, start);}
|
||||
int indexOf(PIChar c, const int start = 0) const {return d.indexOf(c, start);}
|
||||
|
||||
//! \~english Search substring "str" from symbol at index "start" and return first occur position
|
||||
//! \~russian Ищет подстроку "str" от символа "start" и возвращает первое вхождение
|
||||
int find(const PIString & str, const int start = 0) const;
|
||||
int indexOf(const PIString & str, const int start = 0) const {return find(str, start);}
|
||||
|
||||
//! \~english Search substring "str" from symbol at index "start" and return first occur position
|
||||
//! \~russian Ищет подстроку "str" от символа "start" и возвращает первое вхождение
|
||||
@@ -884,7 +881,6 @@ public:
|
||||
//! \endcode
|
||||
//! \~\sa \a findAny(), \a findLast(), \a findAnyLast(), \a findWord(), \a findCWord(), \a findRange()
|
||||
int find(const char * str, const int start = 0) const {return find(PIString(str), start);}
|
||||
int indexOf(const char * str, const int start = 0) const {return find(str, start);}
|
||||
|
||||
//! \~english Search any symbol of "str" from symbol at index "start" and return first occur position
|
||||
//! \~russian Ищет любой символ строки "str" от симола "start" и возвращает первое вхождение
|
||||
@@ -904,17 +900,14 @@ public:
|
||||
//! \~english Search symbol "c" from symbol at index "start" and return last occur position
|
||||
//! \~russian Ищет символ "c" от символа "start" и возвращает последнее вхождение
|
||||
int findLast(const char c, const int start = 0) const;
|
||||
int lastIndexOf(const char c, const int start = 0) const {return findLast(c, start);}
|
||||
|
||||
//! \~english Search symbol "c" from symbol at index "start" and return last occur position
|
||||
//! \~russian Ищет символ "c" от символа "start" и возвращает последнее вхождение
|
||||
int findLast(PIChar c, const int start = 0) const;
|
||||
int lastIndexOf(PIChar c, const int start = 0) const {return findLast(c, start);}
|
||||
|
||||
//! \~english Search substring "str" from symbol at index "start" and return last occur position
|
||||
//! \~russian Ищет подстроку "str" от символа "start" и возвращает последнее вхождение
|
||||
int findLast(const PIString & str, const int start = 0) const;
|
||||
int lastIndexOf(const PIString & str, const int start = 0) const {return findLast(str, start);}
|
||||
|
||||
//! \~english Search substring "str" from symbol at index "start" and return last occur position
|
||||
//! \~russian Ищет подстроку "str" от символа "start" и возвращает последнее вхождение
|
||||
@@ -928,7 +921,6 @@ public:
|
||||
//! \endcode
|
||||
//! \~\sa \a find(), \a findAny(), \a findAnyLast(), \a findWord(), \a findCWord(), \a findRange()
|
||||
int findLast(const char * str, const int start = 0) const {return findLast(PIString(str), start);}
|
||||
int lastIndexOf(const char * str, const int start = 0) const {return findLast(str, start);}
|
||||
|
||||
//! \~english Search any symbol of "str" from symbol at index "start" and return last occur position
|
||||
//! \~russian Ищет любой символ строки "str" от символа "start" и возвращает последнее вхождение
|
||||
|
||||
Reference in New Issue
Block a user