Lessons
C++ · Text and Array · 20. String Tools
step 1 of 7
Cut a piece
substr cuts a piece out of the text. Tell me where to start and how many letters.
Mission
Cut out baatar instead. It starts at number 5.
PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
← press me!
Press RUN to see what this program does.