Tech Fry
  • Home
  • Tutorials
  • Contact Us
  • Login
Home Tutorials Contact Us Login

PHP String Functions

PHP provides many built-in functions for working with strings.

How to Change Case in PHP - strtolower() and strtoupper() Functions
How to Convert Special Characters to HTML Entities - htmlspecialchars() Function
How to Count Words in PHP - str_word_count() Function
How to Find First Occurrence in String - strstr() and stristr() Function
How to Find Part of String - substr() Function
How to Find Position of Substring in PHP - strpos() Function
How to Find String Length in PHP - strlen() Function
How to Increment or Decrement String in PHP - str_increment() and str_decrement() Functions
How to Remove HTML tags from String in PHP - strip_tags() Function
How to Remove Whitespace Characters in a string in PHP - trim() Function
How to Replace String in PHP - str_replace() Function
How to Split String in PHP using Delimiter - explode() Function
Searching for a Pattern Using preg_match()
  1. Home
  2. PHP
  3. PHP String Functions
Subscribe for Newsletter
Latest Updates
Adding Borders Using CSSCSS Position PropertyCSS FlexboxA Beginner’s Guide to CSS Sizing UnitsCSS3 Colors: RGBA, HSL, and HSLACSS SelectorsCSS Box PropertiesObjected Oriented Programming (OOP) in Python
External Links
  • Joomla Extensions
  • MDN Docs
  • PHP