⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
PHP
>
PHP Strings
PHP Strings Tutorials
76 tutorials found.
📘
Binary Safe Compare
String Comparison | strcmp | PHP
📘
Find First Occurrence
String Search | strstr | PHP
📘
Formatted Output
printf Functions | printf | PHP
📘
Get String Length
String Functions | strlen | PHP
📘
Literal String
String Creation | Single Quotes | PHP
📘
Perform Regex Match
Regular Expressions | preg_match | PHP
📘
Tokenize String
String Tokenization | strtok | PHP
📘
Case Insensitive Compare
String Comparison | strcasecmp | PHP
📘
Case Insensitive strstr
String Search | stristr | PHP
📘
Count Words
String Functions | str_word_count | PHP
📘
Parses Variables
String Creation | Double Quotes | PHP
📘
Perform Global Match
Regular Expressions | preg_match_all | PHP
📘
Return Formatted String
printf Functions | sprintf | PHP
📘
strtok with Multiple Tokens
String Tokenization | Example | PHP
📘
Alias of strstr
String Search | strchr | PHP
📘
Compare First N Characters
String Comparison | strncmp | PHP
📘
Multi-line String
String Creation | Heredoc Syntax | PHP
📘
Parse Formatted Input
printf Functions | sscanf | PHP
📘
Reverse String
String Functions | strrev | PHP
📘
Search Replace Regex
Regular Expressions | preg_replace | PHP
📘
Case Insensitive N Compare
String Comparison | strncasecmp | PHP
📘
Find Last Occurrence
String Search | strrchr | PHP
📘
Find Substring Position
String Functions | strpos | PHP
📘
No Parsing Heredoc
String Creation | Nowdoc Syntax | PHP
📘
Output with Array Arguments
printf Functions | vprintf | PHP
📘
Split by Regex
Regular Expressions | preg_split | PHP
📘
Case Insensitive strpos
String Functions | stripos | PHP
📘
Filter Array by Regex
Regular Expressions | preg_grep | PHP
📘
Natural Order Compare
String Comparison | strnatcmp | PHP
📘
Return with Array Arguments
printf Functions | vsprintf | PHP
📘
Search for Any Character
String Search | strpbrk | PHP
📘
Escape Regex Characters
Regular Expressions | preg_quote | PHP
📘
Find Last Position
String Functions | strrpos | PHP
📘
Natural Case Insensitive
String Comparison | strnatcasecmp | PHP
📘
Calculate Similarity
String Comparison | similar_text | PHP
📘
Case Insensitive Last
String Functions | strripos | PHP
📘
Calculate Levenshtein Distance
String Comparison | levenshtein | PHP
📘
Extract Substring
String Functions | substr | PHP
📘
Replace Substring
String Functions | substr_replace | PHP
📘
Replace All Occurrences
String Functions | str_replace | PHP
📘
Case Insensitive Replace
String Functions | str_ireplace | PHP
📘
Repeat String
String Functions | str_repeat | PHP
📘
Pad String to Length
String Functions | str_pad | PHP
📘
Strip Whitespace Both Ends
String Functions | trim | PHP
📘
Strip Left Whitespace
String Functions | ltrim | PHP
📘
Strip Right Whitespace
String Functions | rtrim | PHP
📘
Split String into Array
String Functions | explode | PHP
📘
Join Array into String
String Functions | implode | PHP
📘
Alias of implode
String Functions | join | PHP
📘
Convert to Lowercase
String Functions | strtolower | PHP
📘
Convert to Uppercase
String Functions | strtoupper | PHP
📘
Uppercase First Character
String Functions | ucfirst | PHP
📘
Uppercase Each Word First
String Functions | ucwords | PHP
📘
Lowercase First Character
String Functions | lcfirst | PHP
📘
Convert Special Chars to Entities
String Functions | htmlspecialchars | PHP
📘
Convert Entities to Chars
String Functions | htmlspecialchars_decode | PHP
📘
Convert All to Entities
String Functions | htmlentities | PHP
📘
Convert Entities to Chars
String Functions | html_entity_decode | PHP
📘
Remove HTML PHP Tags
String Functions | strip_tags | PHP
📘
Quote String with Slashes
String Functions | addslashes | PHP
📘
Unquote Quoted String
String Functions | stripslashes | PHP
📘
Calculate MD5 Hash
String Functions | md5 | PHP
📘
Calculate SHA1 Hash
String Functions | sha1 | PHP
📘
Hash String with Algorithm
String Functions | hash | PHP
📘
Encode with Base64
String Functions | base64_encode | PHP
📘
Decode Base64 String
String Functions | base64_decode | PHP
📘
URL Encode String
String Functions | urlencode | PHP
📘
Decode URL Encoded String
String Functions | urldecode | PHP
📘
URL Encode RFC 3986
String Functions | rawurlencode | PHP
📘
Decode RFC 3986 URL
String Functions | rawurldecode | PHP
📘
Convert to JSON String
String Functions | json_encode | PHP
📘
Convert JSON to Variable
String Functions | json_decode | PHP
📘
Convert Value to String
String Functions | serialize | PHP
📘
Restore Serialized String
String Functions | unserialize | PHP
📘
Parse Query String
String Functions | parse_str | PHP
📘
Build Query String
String Functions | http_build_query | PHP