String Expression Functions
The following string expression functions are supported:
The function Translate does not translate a string from one character set to a different one. Instead, it just replaces a set of letters in a string with their corresponding replacement characters where each character specified in the set of characters to be replaced is replaced by the character in the set of replacement characters at the same place. For example, if the call is Translate(‘’SQL*Plus User’’s Guide’, ‘ */’’’, ‘---‘), each of the specified characters in the first set will be replaced by the character in the same position in the second set. In this example, the resulting string will be SQL_Plus_Users_Guide because:
- Any space will be replaced by a _
- Any * will be replaced by a _
- Any / will be replaced by a _ (in this case, nothing will be done because the string does not include the specified character)
- Any ’ will be removed because there is no corresponding replacement character specified.