Skip to content

Commit 066c718

Browse files
committed
Update str_replace.js
1 parent fc1aea5 commit 066c718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/strings/str_replace.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ function str_replace(search, replace, subject, count) {
2525
// returns 3: 'AxDxAxDx'
2626
// bugfixed by: Glen Arason (http://CanadianDomainRegistry.ca) Corrected count
2727
// example 4: str_replace(['A','D'], ['x','y'] , 'ASDFASDF' , 'cnt');
28-
// returns 4: 'xSyFxSyF' cnt = 0 (incorrect before fix)
29-
// returns 4: 'xSyFxSyF' cnt = 4 (correct after fix)
28+
// returns 4: 'xSyFxSyF' // cnt = 0 (incorrect before fix)
29+
// returns 4: 'xSyFxSyF' // cnt = 4 (correct after fix)
3030

3131
var i = 0,
3232
j = 0,

0 commit comments

Comments
 (0)