JavaScript String Methods Tutorial in Hindi / Urdu

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 163

  • @ashwinijadhav4958
    @ashwinijadhav4958 11 หลายเดือนก่อน +2

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

    • @YahooBaba
      @YahooBaba  11 หลายเดือนก่อน

      Thanks for appreciating my work :)

  • @md.hasiburrahman7887
    @md.hasiburrahman7887 4 ปีที่แล้ว +14

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

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +3

      Thank you so much!

  • @junedshekh313
    @junedshekh313 3 ปีที่แล้ว +11

    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);

  • @vedanthchoudhury9758
    @vedanthchoudhury9758 2 ปีที่แล้ว

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

  • @rabiualislam8430
    @rabiualislam8430 ปีที่แล้ว

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

  • @onelackfast1132
    @onelackfast1132 4 ปีที่แล้ว +1

    Best teaching methods on TH-cam for javascript . very useful for bigener. thank you sir!

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Glad you think so!

  • @YOUTUBESPK
    @YOUTUBESPK 11 หลายเดือนก่อน

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

  • @Worlditybyusama
    @Worlditybyusama 3 ปีที่แล้ว +1

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

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Thanks and welcome Usama :)

  • @amaz43
    @amaz43 4 ปีที่แล้ว +7

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

    • @mughalbaig5414
      @mughalbaig5414 ปีที่แล้ว +2

      Bhai pehle ye to sikh jao ache se

  • @rohan6950
    @rohan6950 ปีที่แล้ว +1

    thank you bro it was very clear explaination😊

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว +1

      You are welcome!

  • @avtardigital4410
    @avtardigital4410 4 ปีที่แล้ว +1

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

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +1

      Glad to hear that.... Thanks and welcome :)

  • @omrrrrrr
    @omrrrrrr 2 ปีที่แล้ว

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

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Thanks a ton

    • @omrrrrrr
      @omrrrrrr 2 ปีที่แล้ว

      @@YahooBaba ❤💖💖

  • @rahulsinghenjoylife6898
    @rahulsinghenjoylife6898 2 ปีที่แล้ว

    sir exilent
    work
    bhaut achaa krate ho ap
    samjh me aa gya
    sab

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Your welcome :)

  • @respectmaster010
    @respectmaster010 ปีที่แล้ว

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

  • @ZeeshanAli-kd1lp
    @ZeeshanAli-kd1lp ปีที่แล้ว

    Sir you;re Great, Thank you so much

  • @jauadhasan3365
    @jauadhasan3365 4 ปีที่แล้ว +1

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

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Thanks and Welcome :)

  • @hona6387
    @hona6387 3 ปีที่แล้ว +3

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

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว +1

      Happy to help!

  • @kannudwivedi4446
    @kannudwivedi4446 2 ปีที่แล้ว +1

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

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว +1

      Most welcome 😊

  • @littlestar4045
    @littlestar4045 2 ปีที่แล้ว

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

  • @ankushverma270
    @ankushverma270 3 ปีที่แล้ว +2

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

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Glad you liked it!

  • @anilkapse3415
    @anilkapse3415 3 ปีที่แล้ว

    Best teacher ever.

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Thanks and welcome :)

  • @StatusQueen_p
    @StatusQueen_p 2 ปีที่แล้ว +1

    Great

  • @AreeshaKhan-uy8nm
    @AreeshaKhan-uy8nm ปีที่แล้ว

    Amazing sir thank you Soo much ❤

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Your welcome :)

  • @devanand3643
    @devanand3643 4 ปีที่แล้ว +2

    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 .

    • @jahanzaib3523
      @jahanzaib3523 ปีที่แล้ว

      Literally bero I'm also confused your comment help me a lot thanks❤

  • @tarunjaiswal914
    @tarunjaiswal914 2 ปีที่แล้ว

    Very needful video for me ...

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว +1

      Glad to hear that

  • @AliRazaTruth
    @AliRazaTruth ปีที่แล้ว

    very easy explained thanks so much bro !

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Most welcome :)

  • @TruePreaching_Prophet_saw
    @TruePreaching_Prophet_saw ปีที่แล้ว

    Yahoo baba sir plz. Make tutorial for C++ plz.

  • @akashaggarwal6325
    @akashaggarwal6325 2 ปีที่แล้ว

    Bhaut badia sir

  • @mdhasiburrahmannafiz9984
    @mdhasiburrahmannafiz9984 4 ปีที่แล้ว +1

    Thank You Sir

  • @CodePressAcademy
    @CodePressAcademy 2 ปีที่แล้ว

    great knowlage, thanks

  • @CodePressAcademy
    @CodePressAcademy 2 ปีที่แล้ว

    thank you so much

  • @debrad.castleberry2457
    @debrad.castleberry2457 5 ปีที่แล้ว +1

    very very very helpful videos

  • @muddusarzulfiqar1657
    @muddusarzulfiqar1657 4 ปีที่แล้ว

    Sir apka way of teaching is so beautiful agar ap real life example b bata daaa to zayada achaa samaj atee ha yanee ka hmm ya khaa use krr sktay haaa jb hmm b ya kam kray gay is tarhaa ke examples replay plzzz

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Muddusar sabhi videos ke sath toh real life example batana mushkil hai kyu ke wo aapko samajh nahi aayega abhi is level pe. Han meine PHP mein Projects banaye hai aur wha par Javascript aur jQuery ko use bhi karke dikhaya hai.

  • @VeerpalKaur-uv9dv
    @VeerpalKaur-uv9dv 4 ปีที่แล้ว

    Happy teachers Day sir💞💞💕💕💕I learned a lot from you.Thank u so much🎈🎈

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Thanks Veerpal :)

  • @muhammadarifnba1087
    @muhammadarifnba1087 3 ปีที่แล้ว

    very informative

  • @karanbk6227
    @karanbk6227 4 ปีที่แล้ว

    very nice...txs for the tutorials.

  • @vipgamingcreations7943
    @vipgamingcreations7943 ปีที่แล้ว

    Sir in length method it will count start from index 1 not from 0 right ?

  • @muhammadshakeelayaz3086
    @muhammadshakeelayaz3086 2 ปีที่แล้ว

    its awesome🥰🥰🥰

  • @diwakarsingh6837
    @diwakarsingh6837 ปีที่แล้ว

    sir please make videos on react

  • @antisocialsh00terz12
    @antisocialsh00terz12 3 ปีที่แล้ว

    congrats for 100k :D

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Thanks! 😃

  • @meherali4073
    @meherali4073 3 ปีที่แล้ว

    Sir, include method ko array ke saath karna ziyada accha rahega shayad

  • @darshankunde1988
    @darshankunde1988 4 ปีที่แล้ว

    Gajab bhai

  • @mdkawsarislamyeasin4040
    @mdkawsarislamyeasin4040 2 ปีที่แล้ว

    Thank you 🖤

  • @err.rinkynateriya1407
    @err.rinkynateriya1407 6 หลายเดือนก่อน

    sir trim method me only starting se space remove krta he both side se nhi krta kya ye sahi he ?

  • @exploreanything20yearsago95
    @exploreanything20yearsago95 3 ปีที่แล้ว

    Sir search method aur indexOf to same hai na ?

  • @MujibnagarKhabor
    @MujibnagarKhabor 3 ปีที่แล้ว

    nice.bangladesh

  • @maeenuddinansari1628
    @maeenuddinansari1628 5 ปีที่แล้ว

    Zabardast video

    • @YahooBaba
      @YahooBaba  5 ปีที่แล้ว

      Thanks Maeenu

  • @harshchaubey4868
    @harshchaubey4868 5 ปีที่แล้ว

    Please make a videos about regular expressions

    • @YahooBaba
      @YahooBaba  5 ปีที่แล้ว +3

      Harsh right now i am teaching PHP and after that i will make a course on Advance JavaScript with Regular Expression topic.

    • @harshchaubey4868
      @harshchaubey4868 5 ปีที่แล้ว +1

      Thanks a lot i m waiting for that ❤️❤️

  • @mdaasif5630
    @mdaasif5630 3 ปีที่แล้ว

    Sir kya ye sab web designing me use hoga, aur hoga to kab?
    Please reply, I am waiting

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      Designing mein iska use nahi hota. Iska use Front end development mein hota hai jab hum HTML Forms ke sath kaam karte hai.

  • @iqrashehzadi5590
    @iqrashehzadi5590 ปีที่แล้ว +1

    Beginner level ka complete course ha ye??

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Yes it is complete course for beginner.

  • @kashmirtechtv2948
    @kashmirtechtv2948 3 ปีที่แล้ว

    Regular expressions m globally dhoonfy gaa

  • @md.ashrafali2363
    @md.ashrafali2363 2 ปีที่แล้ว

    Please make project with HTML, CSS & JavaScript

  • @alwaysmovie9434
    @alwaysmovie9434 2 ปีที่แล้ว

    Sir make a video on escape sequence character in javascript I view some video on this topic but I can't understand how we are use it in javascript. Sir if you have any video on that topic so send me link of that video.

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Read this article for Escape Sequence Character :
      www.geeksforgeeks.org/how-to-use-escape-characters-to-correctly-log-quotes-in-a-string-using-javascript/

  • @omrrrrrr
    @omrrrrrr 2 ปีที่แล้ว

    brother replace function kis lyay use hota hai?.. ku k hum replace ki jaga manually array me jaky usy change kr sakty hai yani array me agar javascript likha hai to ham usy manually khud javascript erase kr k php b to likh skty hain.. to ye replace function ki zaroorat ee nahi kindly bta dain kis lyay use hota ha

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Dear aap software development seekh rahe ho jha pe kuch manually nahi hota hai. Jab aap website ya software banake client ko doge toh aapka client array or string ki value ko kaise change karega kyu ki use toh coding aati nahi hai. Isliye aapko replace use karna padega.

    • @omrrrrrr
      @omrrrrrr 2 ปีที่แล้ว

      @@YahooBaba thik thik thankyou sir

  • @shyampant4362
    @shyampant4362 ปีที่แล้ว

    kindly share some latest project

  • @rohitpatel2671
    @rohitpatel2671 3 ปีที่แล้ว

    search or indexOf methods are same????????

  • @khbipu2977
    @khbipu2977 4 ปีที่แล้ว +1

    What is the different Between search and indexOf?

    • @smilebuddy463
      @smilebuddy463 ปีที่แล้ว

      indexOf includes 2 parameters indexOf("search value" , index number where it will start searching);

  • @Heartless0RD
    @Heartless0RD 5 หลายเดือนก่อน

    👌👌👌👌👌

  • @junaidiqbal7541
    @junaidiqbal7541 5 ปีที่แล้ว

    sir,react.js or node .js kese use kia jai is pe video series bna dein.

  • @ChandanKumar-nu5ym
    @ChandanKumar-nu5ym ปีที่แล้ว

    (/is/g) in match method and replace not working...help with that(9:33) (11:57)
    other content are awesome.👍👍

  • @indalsingh6675
    @indalsingh6675 4 ปีที่แล้ว +1

    Match bhi casesensetive hai kya

  • @sanzit6421
    @sanzit6421 2 ปีที่แล้ว

    what is the difference between property and method?

  • @prasadjagtap1337
    @prasadjagtap1337 2 ปีที่แล้ว

    so IndexOf() and search() method is same.

  • @rahulgupta4249
    @rahulgupta4249 4 ปีที่แล้ว

    Sir, When are you publishing Advance Javascript Tutorials , which you had said at 8:55?

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      After completing PHP course

    • @rahuljha8107
      @rahuljha8107 4 ปีที่แล้ว

      @@YahooBaba Sir learning php is must for advance js ??

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      No PHP is not required for Advance JS

    • @shivamshandilya5059
      @shivamshandilya5059 4 ปีที่แล้ว +1

      @@YahooBaba sir I know python so I should go with django or php?

  • @dancewithme1218
    @dancewithme1218 4 ปีที่แล้ว

    sir Apki advance j.s KI videos kaha hain please tell me...

  • @raidislam9010
    @raidislam9010 5 ปีที่แล้ว

    we count start array from 0 ,, but one thing when use indexOf or lastIndexOf where to should satrt count character , and i dont understand how count (is lastIndexOf in index number 22 ) if its count from last its no 22 ,

    • @YahooBaba
      @YahooBaba  5 ปีที่แล้ว +1

      Hello Raid, In this video lastIndexOf just searches from last but it is giving a index of (is) is 22 because it is counting a index number from starting and not from last.

    • @muhammadalimirza2114
      @muhammadalimirza2114 4 ปีที่แล้ว +1

      basically lastIndexOf() search the last occurrence of searched value .e.g if you search lastIndexOf("is") then it starts search from start and search in whole string and where it finds (is) last time it gives index of that. So it's giving index 22 in video example.

  • @souptikpanja3735
    @souptikpanja3735 3 ปีที่แล้ว

    But sir why only in alert box the space appeared & not directly by using document .write

    • @YahooBaba
      @YahooBaba  3 ปีที่แล้ว

      If you want to give space with document.write then use "nbsp;" space entity code like this :
      document.write("Hello   World");
      In this above code I gave 3 spaces between Hello and world.

  • @ismailahammedroman1144
    @ismailahammedroman1144 4 ปีที่แล้ว

    Bro advanced javascript video upload karo na

  • @krutikbabu
    @krutikbabu 5 ปีที่แล้ว

    Bhai aur kitni videos baki hai...😍😍
    Plz reply

    • @YahooBaba
      @YahooBaba  5 ปีที่แล้ว +1

      Hello Krutik, 15 to 20 videos abhi baki hai JavaScript Basics Ki aur uske baad lagbhag 15 videos Advance ki bhi aayeinge

    • @krutikbabu
      @krutikbabu 5 ปีที่แล้ว

      Thanks sir you are awesome.

    • @shrutijog4802
      @shrutijog4802 5 ปีที่แล้ว

      @@YahooBaba bahot achcha ja rahe ho sir, topic itna vast hai, aur aap ekdam basic se sikha rahe ho. achcha lagta hai padhneko.. keep it up

  • @ayushraj1224
    @ayushraj1224 4 ปีที่แล้ว

    Kya string methods important hai js me???

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Yes it is very useful function.

  • @ersachin1204
    @ersachin1204 4 ปีที่แล้ว

    hello sir, regular expression and advance javascript tutorial playlist no found , please help....!!!

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว +1

      I have not made that videos but soon I will make it

    • @ersachin1204
      @ersachin1204 4 ปีที่แล้ว +1

      @@YahooBaba thanks for reply sir, can i get a job in company after learing from here...

    • @ersachin1204
      @ersachin1204 4 ปีที่แล้ว

      is it enough for job , i have learn (html, javacript,java,mysql)

  • @qaswarhaashmi1574
    @qaswarhaashmi1574 5 ปีที่แล้ว

    osm

  • @petslove2429
    @petslove2429 4 ปีที่แล้ว

    Alternate character in string..kaise uppercase karte hai?

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      For that you have to use "For Loop " with substring(start, end) function.

  • @jitendramistry1241
    @jitendramistry1241 4 ปีที่แล้ว

    ctrl+F jaisa find character javascript mai kaise banaye ??

  • @ronak1520
    @ronak1520 2 ปีที่แล้ว

    You know my teachers make us to write html js css codes in notepad

    • @ezcoding69
      @ezcoding69 2 ปีที่แล้ว

      😂😂hamara to khali prime aur palindrome karata hai 😂

  • @631singh
    @631singh 4 ปีที่แล้ว

    sirji mera lastIndexOf() method nai chlrha chrome pe its not supporting

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      Paste ur code here

  • @sajidapatel6082
    @sajidapatel6082 3 ปีที่แล้ว

    Hello sir can you explain how to print prime number in JavaScript

    • @devanshchauhan8668
      @devanshchauhan8668 2 ปีที่แล้ว

      //try this
      // list of prime number from 2 to 100
      for(let n=2; n

  • @ranjanmeher2767
    @ranjanmeher2767 3 ปีที่แล้ว

    Sir str.length zero se nehi balki 1se start hotahe

  • @ghalmenitinkumar4784
    @ghalmenitinkumar4784 ปีที่แล้ว

    Sir length property apane galat sikhadi kyaki length property me string length count 1 se start hota hai apene 0 se batay hai...

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Yes u r right.

  • @showstupid9892
    @showstupid9892 5 ปีที่แล้ว

    At the time of 10:24 vo indexOf() hi search kr rha h last kese count kar ke dekhna jara last se search krega to 11 aana chahiye pls explain krna apne count krke hi nhi bataya phle vale count krke btaya tha isme nhi

    • @vipgamingcreations7943
      @vipgamingcreations7943 ปีที่แล้ว +1

      lastIndexOf mai word peeche se hi search karega lekin uska index aage se 0 se start hoga isliye 22 output print aaya hai

  • @zperfumes1573
    @zperfumes1573 2 ปีที่แล้ว

    Are bhai index to is ka 10 aayega na? Iase 11?

    • @YahooBaba
      @YahooBaba  2 ปีที่แล้ว

      Dear index ka count 0 zero se shuru hota hai.

  • @syedsarfrazalishah1086
    @syedsarfrazalishah1086 ปีที่แล้ว

    sir can you plz shaare your notes

    • @YahooBaba
      @YahooBaba  ปีที่แล้ว

      Get it from our website : www.yahoobaba.net

  • @upadhya4336
    @upadhya4336 10 หลายเดือนก่อน

    Bhai clrscr ka use karo na ra

  • @sunilvishwakarma7499
    @sunilvishwakarma7499 ปีที่แล้ว

    Length 1 se start hota hai y bataya nhi apne

  • @shubhamarora547
    @shubhamarora547 5 ปีที่แล้ว

    🙏👍👍

  • @Pulseblend65
    @Pulseblend65 4 หลายเดือนก่อน

    Who is watching this in 2024 june9

  • @kirtisingh8947
    @kirtisingh8947 2 ปีที่แล้ว

    Sir trim nhi samgh aaya

  • @exploreanything20yearsago95
    @exploreanything20yearsago95 3 ปีที่แล้ว

    Maine he replace wala method se mare dost ka nam ko uske gf se replace karke ak program banaya 😂,

  • @iamdanyaal
    @iamdanyaal 3 ปีที่แล้ว

    Thank You Sir

  • @nontechbg
    @nontechbg 4 ปีที่แล้ว

    Thanks for teaching us 😊😊😊

    • @YahooBaba
      @YahooBaba  4 ปีที่แล้ว

      My pleasure 😊