MySQL Forums
Forum List  »  Quality Assurance

Re: about function replace
Posted by: Jon Stephens
Date: October 15, 2020 08:12AM

REPLACE("TEST"," ", "OTHER") means, "In the string 'TEST', replace any occurrences of ' ' with 'OTHER' and return the result." There are no spaces in the string 'TEST'.

See https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_replace for particulars and an example.

cheers

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
760
October 15, 2020 07:26AM
Re: about function replace
372
October 15, 2020 08:12AM
318
July 29, 2021 10:07AM
371
October 15, 2020 08:43AM
348
October 15, 2020 09:11PM
343
October 19, 2020 10:05AM
336
November 07, 2020 01:15PM
228
December 20, 2021 11:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.