Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | PHP | str_replace SEARCH    

  Functions
comma
copy
count
disk_file_list
disk_file_load
disk_file_save
disk_folder_copy
disk_folder_list
disk_folder_remove
explode
get_baseURL
get_currentPath
implode
mioDb_connect
mioDb_query
mioxml_getElement
mioxml_getElementArray
mioxml_getOuter
settingsSetSimpleValue
settingsStringToArray
settingsToArray
strlen
strpos
strrpos
strtolower
strtotime
strtoupper
str_decrypt
str_encrypt
str_posEx
str_replace
str_split
substr

  Libraries
miodb_lib.php
mio_wlib.php
stats_read.php
stats_write.php

Function
str_replace

Language: PHP
Product: MioFactory


Syntax

str_replace(Search, Replace, Subject)


Parameters

STRINGSearchString to search
STRINGReplaceString to replace
STRINGSubjectSource String


Return value

String



Description

Returns a string with all occurrences of search in subject replaced with the given replace value.

For case-insensitive, use str_ireplace instead of str_replace.