Lesson 12 of 24
string Class மற்றும் String ProblemsThe string Class and String Problems
10 min 30 XP
C++ string-ல் பல methods: length(), substr(pos, len), find(), replace(), += சேர்த்தல், == ஒப்பீடு. reverse(s.begin(), s.end()) மூலம் தலைகீழாக்கலாம்.
C++ strings come with length(), substr(pos, len), find(), replace(), += to append and == to compare. reverse(s.begin(), s.end()) flips a string.
Example: edit me and press Run
Press Run to see the result here.