Skip to content

Commit 581d1c2

Browse files
committed
Update str_ireplace.js
1 parent 3d87a7d commit 581d1c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

functions/strings/str_ireplace.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ function str_ireplace(search, replace, subject, count) {
66
// : http://ca3.php.net/manual/en/function.str-ireplace.php
77
// format: str_ireplace($search, $replace, $subject[, 'count'])
88
// Parameters: If search and replace are arrays, then str_ireplace() takes a
9-
// value from each array and uses them to search and replace on
10-
// subject.
11-
// If replace has fewer values than search, then an empty string
12-
// is used for the rest of replacement values.
13-
// If search is an array and replace is a string, then this
14-
// replacement string is used for every value of search.
9+
// Parameters: value from each array and uses them to search and replace on
10+
// Parameters: subject.
11+
// Parameters: If replace has fewer values than search, then an empty string
12+
// Parameters: is used for the rest of replacement values.
13+
// Parameters: If search is an array and replace is a string, then this
14+
// Parameters: replacement string is used for every value of search.
1515
// note: The count parameter (optional) if used must be passed in as a
16-
// string. eg global var MyCount:
17-
// str_ireplace($search, $replace, $subject, 'myCount');
16+
// note: string. eg global var MyCount:
17+
// note: str_ireplace($search, $replace, $subject, 'myCount');
1818
// input: str_ireplace($search, $replace, $subject[, {string}]);
1919
// Returns: a string or an array of replacements.
2020

0 commit comments

Comments
 (0)