charat function to get character from a location inside a stringNote that the first character is located at 0th position. Here is an example.
The output of above code is cLearn how to reverse a string by using charat and length property of a string. Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
![]() | ||
| ||