The REPLACE() function replaces all occurrences of a substring within a string, with a new substring.
Note: This function performs a case-sensitive replacement.
REPLACE(
string,
substring,
new_string)
Parameter | Description |
---|---|
string | Required. The original string |
substring | Required. The substring to be replaced |
new_string | Required. The new replacement substring |
Works in: | From MySQL 4.0 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!