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
168
October 15, 2020 07:26AM
Re: about function replace
64
October 15, 2020 08:12AM
58
October 15, 2020 08:43AM
51
October 15, 2020 09:11PM
49
October 19, 2020 10:05AM
52
November 07, 2020 01:15PM


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.