REPLACE

REPLACEは、文字列内で正規表現パターンを検索し、パターンを別の文字列で置換し、変更された文字列を返します。

戻り値

VARCHAR2 | CLOB

構文

REPLACE(char, search_string [, replacement_string ])

引数

char: 検索範囲のテキスト式です。

search_string: 検索対象のテキスト式です。

replacement_string: charsearch_stringを置換するテキスト式です。

REPLACE('JACK and JUE','J','BL')は、文字列BLACK and BLUEを返します。