Using Indices
Let's put it into practice!
Task
Swipe to start coding
Given string description
. You need to extract:
- The very last symbol of the string.
- The 18th - 20th (positions, not indices, including both left and right boundaries) symbols.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 7