Python String find() method examples

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • Illustrates more examples of using the find method to locate sub-strings within a string. At the same time it reinforces the concept of messaging an object.

Komentáře • 17

  • @jpizzle71477
    @jpizzle71477 Před 7 lety +5

    your videos are brillant!!! Thank you so much for making them. Currently studying OOP in a bootcamp. Your explanation of classes, objects, instances, methods, and encapsulation has really helped me a great deal. Cheers!

  • @grimkasad4183
    @grimkasad4183 Před 5 lety +2

    One of the best explanation what i have met.

  • @johnphilipjones
    @johnphilipjones  Před 9 lety +10

    Illustrates more examples of using the find method to locate sub-strings within a string. At the same time it reinforces the concept of messaging an object.

    • @giligaini.2137
      @giligaini.2137 Před 9 lety

      Nice, I can see how this can be used to increment the search along the string length to find location(s) of a find argument and record locations..all this with a loop.

    • @johnphilipjones
      @johnphilipjones  Před 9 lety +1

      Giligain I. Yes that is a solution there are also others but these do not involve the find() method. I will be covering other functions as I develop the Python playlist. So as they say "stay tuned" - Phil

  • @MaxGoddur
    @MaxGoddur Před 7 lety +1

    Just fired off another note to Tim @ ITProTV so they could see the advanced approach you use in teaching. Keep up the great work.

  • @PUCIONE3
    @PUCIONE3 Před 8 lety +2

    Thank you so much! This is a best python video tutorial that i seen.

    • @johnphilipjones
      @johnphilipjones  Před 8 lety +1

      +Pro Linux Thank you for your generous comment. I would like to invite you to thhe following Python Google+ community:
      plus.google.com/communities/108318057967049881054?partnerid=ogpy0
      Best wishes
      Phil
      (John Philip Jones)

    • @PUCIONE3
      @PUCIONE3 Před 8 lety +2

      John Philip Jones On CZcams there are a lot of python video, but not all are same this. Absolutely, i send the request to enter in the Google+ community. Good evening sir!

  • @rahulraj-eg6ic
    @rahulraj-eg6ic Před 5 lety +2

    Thanks again sir for a nice experience.👍👍👍👏👏

  • @philoki
    @philoki Před 8 lety +1

    Nicely animated! Great work.

    • @johnphilipjones
      @johnphilipjones  Před 8 lety +1

      +J12to4 Thank you
      Best wishes
      Phil
      (John Philip Jones)

  • @Symbiosis_plus
    @Symbiosis_plus Před 8 lety +2

    great production! very good for begginers like me =) Thanks

    • @johnphilipjones
      @johnphilipjones  Před 8 lety

      +Symbiosis Thank you
      Best wishes
      Phil
      (John Philip Jones)

  • @stanc846
    @stanc846 Před 6 lety +3

    Nicely done! What kind of tool sets do you use to produce these vids?

    • @johnphilipjones
      @johnphilipjones  Před 6 lety

      Info at the following link
      www.pythonbytesize.com/educators.html
      Best wishes
      Phil

  • @chessfighter54
    @chessfighter54 Před 6 lety +1

    str_1 "great work. i understand it clearly." indx=str_1.find("great"1,10) print (str_1)