Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Menu
str_replace « String « PHP
PHP
String
str_replace
1.
Replacing Substrings Using str_replace()
2.
str_replace demo
3.
str_replace() accepts arrays for all its arguments
4.
str_replace() function searches for occurrence in string, replacing all instances with replacement.
5.
str_replace.php
6.
Using str_replace()
7.
mixed str_replace ( mixed needle, mixed replace, mixed haystack [, int &count;] )
8.
Replacing Tabs with Spaces
9.
case-sensitive?
10.
Using template file
11.
Switching tabs and spaces