JavaScript - In-Built String Functions Part-1

Опубликовано: 19 Март 2026
на канале: EdYoda
388
6

For more courses, visit: https://www.edyoda.com/

Hey guys, in this video we will learn about Inbuilt String Functions in JavaScript.

Practice Problems:
=================
Try to answer the following questions. Post your answers in the comment section below. Also, try to explain why do you think your answer is correct. Best of Luck!!

var mStr = "This is my test string to practice the JavaScript string function concepts. This is gonna be fun."

1. Find the length of the first sentence in the string.

2. Find the length of the second sentence in the string.

3. Find the first and last occurrence of the word "This".

4. Find the sub-string with length 12 from the START of the string mStr.

5. Find the sub-string with length 12 from the END of the string mStr.

Codepen URL: https://codepen.io/qaifikhan/pen/ZwKELb

Previous Video: https://www.edyoda.com/course/1496?ep...

My Twitter Handle: @qaifikhan