User Tools

Site Tools


cpp:std_strings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cpp:std_strings [2023/04/25 14:42]
gthanos [Διάτρεξη]
cpp:std_strings [2023/04/25 14:46] (current)
gthanos [Σύγκριση, αναζήτηση, εξαγωγή υπο-αλφαριθμητικών]
Line 205: Line 205:
 size_t find (char c, size_t pos = 0) const; size_t find (char c, size_t pos = 0) const;
 </code>  | Αναζητά στο //string// την πρώτη εμφάνιση του //string str// ή του χαρακτήρα //c// ξεκινώντας την αναζήτηση από την θέση pos.  | </code>  | Αναζητά στο //string// την πρώτη εμφάνιση του //string str// ή του χαρακτήρα //c// ξεκινώντας την αναζήτηση από την θέση pos.  |
- <code cpp>|  <code cpp>size_t rfind (const string& str, size_t pos = npos) const;+| <code cpp>size_t rfind (const string& str, size_t pos = npos) const;
 size_t rfind (const char* str, size_t pos = npos) const; size_t rfind (const char* str, size_t pos = npos) const;
 size_t rfind (const char* str, size_t pos, size_t n) const; size_t rfind (const char* str, size_t pos, size_t n) const;
cpp/std_strings.txt · Last modified: 2023/04/25 14:46 by gthanos