A string is a sequence of characters. In PHP String Functions are used to manage strings.

  • str_replace() – Replace a text within a string
  • strpos() – Searches for a text within a string
  • strlen() – Returns the length of a string
  • str_word_count() – Count words in a string