JavaScript String Methods Tutorial in Hindi / Urdu

preview_player
Показать описание
In this tutorial you will learn javascript string methods in Hindi, Urdu.You can learn how to search in any string, replace any word , find index of searched word with these javascript string methods in hindi.

JavaScript Tutorial Playlist

Follow us on Facebook

Follow us on Twitter

#javascript #webdevelopment #webdesign
Рекомендации по теме
Комментарии
Автор

Notes for String Method 1:-

// var str = "Javascript is a great language";
// var a = str.length; // 1) length >> this a property that is why it will have no round braces
// document.write(a);

// var str = "Javascript is a great language";
// var a = str.toLowerCase(); //2) toLowerCase : it is used for lowercase
// document.write(a);

// var str = "Javascript is a great language";
// var a = str.toUpperCase(); //3) toUpperCase : it is used for uppercase
// document.write(a);

// var str = "Javascript is a Great language";
// var a = str.includes("Great"); // 4) includes >> it will search and return true or false if it find any
// document.write(a);

// var str = "Javascript is a great language";
// var a = str.startsWith("JavaScript"); // 5) startsWith >> it will search from starting chr or word
// document.write(a);

// var str = "Javascript is a great Language";
// var a = str.endsWith("Language"); // 6) endstsWith >> it will search from ending chr or word
// document.write(a);

// var str = "Javascript is a Great language";
// var a = str.search("Great"); // 7) search >> it will works as include but it will not return true or false instead it will return the index of that word
// document.write(a);

// var str = "Javascript is a Great is Language";
// var a = str.match(/is/g); // 8) match >> it will works as search but it will not return the index of that word but it will make an any of that. Note: for match we need to use forward slashes instead of two quotes and need to pass g after second slash. g means globally, if you pass g then it will search again again for that word and it will make an arry.
// document.write(a);

// var str = "Javascript is a Great is language";
// var a = str.indexOf("is"); // 9) indexOf >> it will works as it works in arrays. To find out the index
// document.write(a);

// var str = "Javascript is a Great is language";
// var a = str.lastIndexOf("is"); // 10) indexOf >> it will works as it works in arrays. It will search from last and return the index number.
// document.write(a);

// var str = "Javascript is a Great is language";
// var a = str.replace("is", "are"); // 11.1) replace >> it will work as it works in msword and msexcel. You have to pass two parameters, first one that you want to replace and other one that you want to replace with.
// document.write(a);

// With regular expression and using g (globally)
// var str = "Javascript is a Great is language";
// var a = str.replace(/is/g, "are"); // 11.2) replace >> For this you have to use regular (//) expression and g (globally) then it will search globally and replace it all.
// document.write(a);

// var str = " Javascript ";
// var a = str.trim(); // 12) trim: it is used to trim extra spaces. Trim will be use for form.
// alert(a);
// // document.write(a);

junedshekh
Автор

No one can replace your teaching method sir, the way of teaching is simple but effective, thanks for your efforts...

ashwinijadhav
Автор

What a tremendous and vivid tutorial.
Thank you so much for your afford and dedication.
so grateful to you.
May Allay bless you

md.hasiburrahman
Автор

The best channel for understanding coding from scratch and my making videos short, it helps us to understand much better

vedanthchoudhury
Автор

Best teaching methods on YouTube for javascript . very useful for bigener. thank you sir!

onelackfast
Автор

BABA JI BAHUT HI ACHHA KNOWLEDGE DIYA HAI AAPNE❤❤❤❤❤❤❤

YOUTUBESPK
Автор

sir you are amazing sch a great teaching method lots lof love... from pakistan

MUsama-vmqz
Автор

best video
many problem solve in string
Thanks for this video brother...

rabiualislam
Автор

best teacher ever on youtube. when will come to advance javascript tutorial? we are eagerly waiting for that!

amaz
Автор

thank you bro it was very clear explaination😊

rohan
Автор

Thanku so much sir 😍😍😍 this help me a lot😍😍 once again thanku so much for such amazing explanation 😍😍❤

kannudwivedi
Автор

sir exilent
work

bhaut achaa krate ho ap
samjh me aa gya
sab

rahulsinghenjoylife
Автор

btw bruh your course depth is very nice. aisy course log paid dety hain or ap.. gid will safe you Always

omrrrrrr
Автор

Thnx for this tutorial u r all tutorial are too much helpful

avtardigital
Автор

This was the type of video i was searching for. Thanks

ankushverma
Автор

please count you by correct method becuase if you are count in length so start from 1 and if you count in index so start from 0.so please decide first .

devanand
Автор

Thnx teacher u r great many many respect and love for u

jauadhasan
Автор

Very very nice bro❤❤❤❤ Thank you for such a beautiful presentation

respectmaster
Автор

So many videos I watched before and those are so confusing thanks for this video 🤩

hona
Автор

Thanks for your effort and knowledge. Best Best and super duper Best.

littlestar