PhpSpreadsheet/tests/data/Calculation/TextData
Christian Schmidt 3560f11935
Replace mbStrReplace() with str_replace()
By design, UTF-8 allows any byte-oriented substring searching algorithm,
since the sequence of bytes for a character cannot occur anywhere else
([source](https://en.wikipedia.org/wiki/UTF-8#Advantages_3)).

So `str_replace()` also works for UTF-8-encoded strings, assuming that
the input strings are valid UTF-8 strings. The previous implementation
of mbStrReplace() did nothing to detect invalid strings.

Also, `str_replace()` does not support [Unicode equivalence](https://en.wikipedia.org/wiki/Unicode_equivalence),
but nor do the other `mb_string` functions, and nor does `=SUBSTITUTE()` in Excel
(tested on Excel for Mac version 15.19.1, Excel 2016 for Windows and LibreOffice 5.1).

Closes #109
2017-03-06 11:33:06 +09:00
..
CHAR.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
CLEAN.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
CODE.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
CONCATENATE.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
DOLLAR.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
FIND.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
FIXED.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
LEFT.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
LEN.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
LOWER.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
MID.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
PROPER.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
REPLACE.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
RIGHT.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
SEARCH.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
SUBSTITUTE.php Replace mbStrReplace() with str_replace() 2017-03-06 11:33:06 +09:00
T.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
TEXT.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
TRIM.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
UPPER.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
VALUE.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00