Substrings and IndexOf in C# - How to get Part of a String in C#

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

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

  • @codingunderpressure7818
    @codingunderpressure7818  4 года назад

    Get a 30 Day Free Trial of Amazon Prime if you don't have it already! - amzn.to/35ODPUU

  • @Jordaneal
    @Jordaneal 3 года назад +1

    Exactly the information I needed. Thank you for a great tutorial!

  • @engineersguild8889
    @engineersguild8889 4 года назад +7

    What if a String is unknown, I mean if we are taking a String through ReadLine?

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

    Damn, this video was a life saver, thanks bruf

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

    Nice explanation!

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

    Thanks for the video!

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

    Thanks dude!

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

    that was prefect👍🏻

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

    Thanks.

  • @princetonnelson3286
    @princetonnelson3286 4 года назад +1

    font size was great 4 me

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

    and how do i get the part of a number?

  • @markjustinebalisi6177
    @markjustinebalisi6177 4 года назад +1

    But how to separate any full name into last name, first name and middle name?

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

      like this : string fullname = "George Kings David";
      var names = fullname.Split(' ');
      string firstName = names[0];
      string middleName = names[1];
      string lastName = names[2];
      Console.WriteLine($"First name is :{firstName}");
      Console.WriteLine($"Middle name is :{middleName}");
      Console.WriteLine($"Last name is :{lastName}");
      Console.ReadLine();

  • @pramudithrangana1841
    @pramudithrangana1841 4 года назад

    Thanks sir

  • @IkBenLennert
    @IkBenLennert 4 года назад

    Thanks

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

    Too small font size👎

  • @a.r.s.6301
    @a.r.s.6301 3 года назад

    wqhat if there is some duplicate number

  • @ShivamMaurya-tu1kw
    @ShivamMaurya-tu1kw 4 года назад +2

    too small...can't able to view it on low resolution👎

  • @bobojenkins5805
    @bobojenkins5805 4 года назад +1

    zoom the fuck in

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

    Si vedesse qualcosa...