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
Orlando, Florida, USA

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
550
October 15, 2020 07:26AM
Re: about function replace
228
October 15, 2020 08:12AM
181
July 29, 2021 10:07AM
222
October 15, 2020 08:43AM
213
October 15, 2020 09:11PM
210
October 19, 2020 10:05AM
209
November 07, 2020 01:15PM
112
December 20, 2021 11:56AM


Sorry, only registered users may post in this forum.

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.