C++ useful string functions (#8) 🧵

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 44

  • @BroCodez
    @BroCodez  4 года назад +30

    0:25 string.length()
    3:39 string.empty()
    4:44 string.clear()
    5:34 string1.append(string2)
    6:36 string.at(int x)
    9:00 string1.substr(int x, int y)
    10:51 string1.insert(x,string2)
    12:30 string1.find(string2)
    13:58 string1.erase(int x, int y)
    //------------------------------------------------------------------------------------
    //string.length() returns the length of a string
    //------------------------------------------------------------------------------------
    string first_name;
    cout 12) {
    cout

  • @reverberateios5942
    @reverberateios5942 2 года назад +9

    Bro you deserve so much more recognition what you are doing is nothing short of incredible

  • @tomaszkarolak6179
    @tomaszkarolak6179 4 года назад +5

    The best tutorials, I've ever seen on YT, thx bro!!!

  • @pratyush2331raj
    @pratyush2331raj 2 года назад +4

    didn't feel boring at any point of time. Thank you for amazing video Sir :)

  • @ByteTechHD
    @ByteTechHD 3 года назад +2

    I actually laughed out loud at the "my name is Methe" lmaoooo

  • @Spectronzi
    @Spectronzi 4 года назад +3

    Thanks for the tutorial ! Really helped in learning how to deal with text using string

  • @Based_On_Cringe
    @Based_On_Cringe 4 месяца назад

    Easily comprehensible guide. Thank you

  • @PunmasterSTP
    @PunmasterSTP 5 месяцев назад

    Useful string functions? More like "Amazing videos; thanks for the great instruction!" 🙏

  • @smartmoneyprotocol7280
    @smartmoneyprotocol7280 2 года назад

    thank you , amazing skill, i like the you teach , it make me to understand quicker, which useful string i can focus on if i want to code an auto trading robot. thank you

  • @kardt89
    @kardt89 6 месяцев назад

    @10:49
    That one line. Respect + Subscribed.

  • @dimuthu8888
    @dimuthu8888 2 года назад +1

    Great tutorial Bro!! Thanks a lot ❤️

  • @proangel111
    @proangel111 3 года назад +2

    10:49 I’m dead, thanks for the laugh 😂

  • @shoislomshobaxromov3339
    @shoislomshobaxromov3339 3 года назад

    Thank you for your video! It has redused my confysion about string methods.

  • @NK_Kolkata
    @NK_Kolkata 3 года назад

    bruh ! I love your sense of humor :D I lose it every time xD

  • @higiniofuentes2551
    @higiniofuentes2551 Год назад

    Thank you for this very useful video!

  • @HaVocHarMony
    @HaVocHarMony Год назад

    BRO!!! thanks for this ❤❤❤

  • @TursunboyAvazbekov
    @TursunboyAvazbekov 3 года назад

    Thank you very much bro.It is very useful.

  • @sanasnam5333
    @sanasnam5333 2 года назад

    This helps a lot, Thank you!

  • @rahafs.9793
    @rahafs.9793 2 года назад

    omg thanksssss brooo ur life saver!!!

  • @mehemmedeliyev3446
    @mehemmedeliyev3446 11 дней назад

    nice tutorial

  • @ISTech-rw8op
    @ISTech-rw8op 3 года назад

    thanks bro code it helped alot ❣️

  • @ЖАСУРШУХРАТОВ-с6э
    @ЖАСУРШУХРАТОВ-с6э 3 года назад

    Thank you very much, bro. But why did you use getline, is it easier or has another function?

  • @AA-em3lw
    @AA-em3lw 3 года назад

    hahha, awesome youtube name, The Bro Code, Don't let bro code down! (; BS

  • @chefskiss651
    @chefskiss651 Год назад

    Hey, I know that my request has nothing to do with this video, but it's the closest hint I could find. How do I create a loop that prompts the user to enter integers that are seperated by just spacing. Basically I want to enter an integer add a space which will than loop in my program so I can repeat the process and write all my seperate integers in just one line.

  • @HuzaifaKhan-kb2ut
    @HuzaifaKhan-kb2ut 11 месяцев назад

    Amazing video

  • @abdulmelik8337
    @abdulmelik8337 2 месяца назад

    Thanks bro!

  • @tareq5264
    @tareq5264 2 года назад

    2:57 LMFAO nice one man

  • @jeelezindagi7664
    @jeelezindagi7664 3 года назад

    Thank you so much sir.....🙏🏻👍🏻

  • @vyass966
    @vyass966 2 года назад

    thanks for the video...best ever < 3

  • @Artificially_Creative
    @Artificially_Creative Год назад

    I have a question, can we add like the string length function with string empty function?

  • @Koshik.143
    @Koshik.143 6 месяцев назад

    bro is obsesed with Bro

  • @eatbeast
    @eatbeast 3 года назад

    Thank you bro

  • @premgarg5534
    @premgarg5534 2 года назад

    Like ur video but it has some mistakes
    like in s.insert() u said it doesn't return anything but it does (which is super important for chaining methods)
    also, s.insert(int, char) is not a valid method (u can use a string of length 1 off course)

  • @kidushabtewold6317
    @kidushabtewold6317 10 месяцев назад

    thanks

  • @mirosawboniewicz6793
    @mirosawboniewicz6793 8 месяцев назад

    NICE!

  • @420thlegioner8
    @420thlegioner8 2 года назад

    I liked that username

  • @sankalpmishra284
    @sankalpmishra284 2 года назад

    Thank u sir : )

  • @sushantrock7896
    @sushantrock7896 2 года назад

    you are great

  • @bittu9969
    @bittu9969 3 года назад

    i dont know what is the problem but everything worked except the find .
    it always says -1 . I even copied your code from comment but it still said the same thing
    i use atom

  • @baovogia6782
    @baovogia6782 3 года назад

    love it

  • @CODINGWITHRENAT
    @CODINGWITHRENAT 3 дня назад

    hello bro