Hello 

This is the day 12 of #30 days of javascrip coding, at this day I studied String Methods and  i learned that
1- As we previously learned about Number Methods, today we will learn String Methods
2-The index represents the number for the location or location of each item within the sequence, and the sequence is the sequence of data, meaning that the first code that has the letters inside it is a sequence of data.
3- Each of the elements or data present within this sequence has a number or location. This is specifically the index. The beginning of the Index count is from zero.
4- After that, the method is called charAt() and it means Position at Character, meaning you give it a specific Position and it will return to you the Character inside this position.
5- If i want to count the number of elements in a String, i will use something called length, the purpose of which is to count the number of elements in the Sequence.
6- The method after that is trim(), which in turn trims the spaces and spaces that exist with any string inside the quotation marks.
That's what I learned today 

Comments

Popular posts from this blog