difference between CharAt and substring
Answers
Answered by
12
The substring() method extracts parts of a string and returns the extracted parts in a new string. so, you can say that there's a difference between slice() and substr() , while substring() is basically a copy of slice() . if you know the length of characters to be extracted use substr(
charu364431:
u r brainliest
Answered by
4
Char At is a character
Substring is related to string
Char At is related to different types of characters
Similar questions