PHP Tutorial 5 | String Functions | PHP Tutorial | Learn PHP Programming | PHP for Beginners

preview_player
Показать описание
PHP Tutorial 5 | String Functions | PHP Tutorial | Learn PHP Programming | PHP for Beginners

There are many functions in PHP to manipulate strings. In this tutorial, we talked about five functions.

These are:-

1. For finding a string length - strlen()
2. For counting the number of words in a string - str_word_count()
3. For printing a string in reverse order - strrev()
4. For finding text in a string - strpos()
5. For replacing a string with other characters - str_replace()

#php #for beginner #webdevelopment
Рекомендации по теме