C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL REPLACE() FunctionREPLACE(str,from_str,to_str) is a Sring function of MySQL. This method returns string from the given string to the string. Syntax
select replace(str, from_str, to_str); Example 1
select replace('java', 'javat', 'TheDeveloperBlog');
Output:
Example 2
select replace('MYSQL', 'sql', 'mysql');
Output:
Next TopicMySQL String
|