.\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... .\" $Id: oracle_compat.3,v 1.1 1997/03/07 00:47:41 scrappy Exp $ .\" Translated by Mitsuhiro Maeda (mitsu@cni.co.jp) .TH ORACLE_COMPAT SQL 03/06/97 日本語PostgreSQL 日本語PostgreSQL .SH 説明 .\" This is a set of single row character functions, defined for the datatype .\" text. これは一行の文字列関数のセットで、text 型のために定義されたものです。 .\" They are supposed to behave exactly as their Oracle counterparts. Oracle のものをそっくりに動くはずです。 .PP .\" The following functions have been implemented: 次の関数がインプリメントされています: .PP .B LOWER(string) .IP .\" Returns string, with all letters forced to lowercase. すべての文字を小文字にした文字列を返します。 .PP .B UPPER(string) .IP .\" Returns string, with all letters forced to uppercase. すべての文字を大文字にした文字列を返します。 .PP .B INITCAP(string) .IP .\" Returns string, with first letter of each word in uppercase, .\" all other letters in lowercase. すべての単語の先頭の文字を大文字に、 その他の文字を小文字にした文字列を返します。 .\" A word is delimited by white .\" space. 単語はスペースで区切られます。 .PP .B LPAD(string1, len [,string2]) .IP .\" Returns string1, left-padded to length len with the sequence .\" of characters in string2. string2 defaults to blanks. string1 の左側に string2 を詰めて len の長さにした string1 を返します。 string2 はデフォルトで空白です。 .PP .B RPAD(string1, len [,string2]) .IP .\" Returns string1, right-padded to length len with the sequence .\" of characters in string2. string2 defaults to blanks. string1 の右側に string2 を詰めて len の長さにした string1 を返します。 string2 はデフォルトで空白です。 .PP .B LTRIM(string [,set]) .IP .\" Returns string with initial characters removed up to the first .\" character not in set. set defaults to blanks. 最初に set が出て来なくなるまでの文字を削除した string を返します。 set はデフォルトで空白です。 .PP .B RTRIM(string [,set]) .IP .\" Returns string with final characters removed after the last .\" character not in set. set defaults to blanks. 最後から set が出て来なくなるまでの文字を削除した string を返します。 set はデフォルトで空白です。 .PP .B SUBSTR(string, m [,n]) .IP .\" Returns a portion of string, beginning at character m, n .\" characters long. string の m から始まる n 文字を返します。 .\" If n is omitted, to the end of the string. もし n がなければ、string の最後までを返します。 .\" The first position of string is 1. string の一番最初は 1 となります。 .PP .B TRANSLATE(string, from, to) .IP .\" Returns string after replacing all occurences of from with .\" the corresponding character in to. string の中の文字 from をすべて to に変換して返します。 .\" TRANSLATE will not remove .\" characters. TRANSLATE は文字を削除できません。