Useful string methods in JavaScript 〰️【4 minutes】

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

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

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

    // useful string properties & methods
    let userName = "Bro Code";
    let phoneNumber = "123-456-7890";
    //console.log(userName.length);
    //console.log(userName.charAt(0));
    //console.log(userName.indexOf("o"));
    //console.log(userName.lastIndexOf("o"));
    //userName = userName.trim();
    //userName = userName.toUpperCase();
    //userName = userName.toLowerCase();
    phoneNumber = phoneNumber.replaceAll("-", "");
    console.log(phoneNumber);

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

      Practicing...
      //let userName = "Framboaya";
      let phoneNumber = "546-698-021";
      //console.log(userName.length);
      //console.log(userName.charAt(2));
      //console.log(userName.indexOf("a"));
      //console.log(userName.lastIndexOf("a"));
      //userName = userName.trim();
      //userName = userName.toUpperCase();
      //userName= userName.toLowerCase();
      phoneNumber = phoneNumber.replaceAll("-","");
      //console.log(userName);
      console.log(phoneNumber);

  • @nafisatabassum-28
    @nafisatabassum-28 21 วันที่ผ่านมา

    From Bangladesh- Thanks a lot for these basic JS course. Easily explained. One of the best.

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

    I'm from Kazakhstan. Thank you so much for the effort and the opportunity to learn JS!

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

    Hey man, i'd like to tell you that im watching all your playlist bout JS, and that thanks to your videos now i get how the relation HTML-JS works! Thanks man and keep it up!!!

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

    I'm learning JS, html, Css and PHP through your videos and it is quite impossible to find out any other course better than yours! The best english pronunciation so that even foreigners like me can understand. That should be a way of showing you all our gratitude for this amazing job you have been doing, Bro! Where are you from?

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

    Thank you, Bro! Great teacher as always

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

    thx you Bro. I'm from Russia and here we don't have any free useful programming courses. I understand your lesson without using any translator or smth like that

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

      @Mr Rough Hey. Ouu.... It's tough here. Instgramm, facebook, twitter are down. Netflix also doesn't work at Russia territory now. I'm scared of potential opportunity of TH-cam and Twitch blocking. But i try just keep focus on JavaScript.

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

    oh bro! thanks all , you are great techer in the world🙂🙂🙂🙂🙂🙂

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

    That was awesome Broski!

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

    bro... this is dope. thanks for the effort!

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

    Thanks, Bro!

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

    great teacher!!!

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

    Good tips bro

  • @малосольные-окурки
    @малосольные-окурки 6 หลายเดือนก่อน

    perfect!

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

    nice and clean

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

    Excellent 😊

  • @MrLoser-ks2xn
    @MrLoser-ks2xn ปีที่แล้ว

    Thanks!

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

    Great video

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

    yes it's very useful thakns

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

    Hi, I've been following your courses and I actually like the way you explain the subject, I'm following the javascript course, and I would like to ask (if it doesn't bother me) to be able to take a React js course??

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

    Wubba Lubba Dub-Dub
    For the algorithm!

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

    thanks

  • @ΑναστάσηςΤσαμπούκος
    @ΑναστάσηςΤσαμπούκος 2 ปีที่แล้ว

    I want to make the portions of a textview text which are the same with the items in a string list coloured different than the other text is there any way?