Lesson 7 – String Methods

Find the Course here.


Introduction: The local writer in your town has written a lot of text books so now he has lost his overview and needs your help to manage and work with his texts.


What you will learn:

  • Primarily:
    • The most useful string methods
  • Secondarily:
    • Intellisense

Client Name: The local writer


Process Name: String Methods


Description: The local writer needs to know what is possible so you need to give him a presentation of the most useful string methods and a demonstration of how to use them. Try each of the following methods out and use them on his favorite text ‘And they lived happily ever after’:

  • Contains
  • ElementAt
  • EndsWith/StartsWith
  • IndexOf
  • Replace
  • Substring
  • ToLower/ToUpper
  • Trim

Leave a Reply