Computer Science, asked by charu364431, 11 months ago

difference between CharAt and substring​

Answers

Answered by RDEEP90
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
RDEEP90: thansk
charu364431: but where is charat
Answered by MƦAttrαctívє
4

Char At is a character

Substring is related to string

Char At is related to different types of characters

Similar questions
Math, 6 months ago