HP Forums
bug report for REPLACE - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: bug report for REPLACE (/thread-4868.html)



bug report for REPLACE - ji3m - 10-03-2015 11:07 PM

The manual says

REPLACE("12345",”3”,”99”) returns "12995"

but it really returns Error:Bad argument type.

Doesnt work with number for start

REPLACE("12345", 3 ,”99”) fails as well


RE: bug report for REPLACE - Tim Wessman - 10-03-2015 11:41 PM

Think I remember seeing either a bug report or fix on this already, but I'll file another just in case. Thanks!


RE: bug report for REPLACE - Joe Horn - 10-05-2015 03:34 AM

(10-03-2015 11:07 PM)ji3m Wrote:  The manual says

REPLACE("12345",”3”,”99”) returns "12995"

but it really returns Error:Bad argument type.

Doesnt work with number for start

REPLACE("12345", 3 ,”99”) fails as well

Workaround: In CAS, use replace (lowercase), not REPLACE (uppercase). It works in both cases in Home.