head	1.5;
access;
symbols
	REL7_2_8:1.4
	REL7_2_7:1.4
	REL7_2_6:1.4
	REL7_2_5:1.4
	REL7_2_4:1.4
	REL7_2_3:1.4
	REL7_2_STABLE:1.4.0.6
	REL7_2:1.4
	REL7_2_RC2:1.4
	REL7_2_RC1:1.4
	REL7_2_BETA5:1.4
	REL7_2_BETA4:1.4
	REL7_2_BETA3:1.4
	REL7_2_BETA2:1.4
	REL7_2_BETA1:1.4
	REL7_1_2:1.4
	REL7_1_STABLE:1.4.0.4
	REL7_1_BETA:1.4
	REL7_1_BETA3:1.4
	REL7_1_BETA2:1.4
	REL7_1:1.4
	REL7_0_PATCHES:1.4.0.2
	REL7_0:1.4
	REL6_5_PATCHES:1.1.0.2;
locks; strict;
comment	@# @;


1.5
date	2002.08.30.16.48.43;	author momjian;	state dead;
branches;
next	1.4;

1.4
date	99.10.30.16.18.51;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	99.10.30.16.01.14;	author momjian;	state dead;
branches;
next	1.2;

1.2
date	99.09.20.22.30.47;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	99.09.13.18.47.31;	author momjian;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	99.09.13.18.47.31;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Remove pgaccess from CVS.  It has its own home now.
@
text
@.pgaw:Help.f.t insert end \
"String functions\n\n" {title} \
"SQL92 String Functions" {bold} \
" - SQL92 defines string functions with specific syntax. Some of these are implemented using other Postgres functions. The supported string types for SQL92 are char, varchar, and text. 
" {} "
char_length(string)" {bold} " 
	Returns: int4 
	length of string" {} "

character_length(string)" {bold} " 
	Returns: int4 
	length of string" {} " 

lower(string)" {bold} " 
	Returns: string 
	convert string to lower case" {} " 

octet_length(string)" {bold} " 
	Returns: int4 
	storage length of string" {} " 

position(string in string)" {bold} " 
	Returns: int4 
	location of specified substring" {} " 

substring(string \[from int\] \[for int\])" {bold} " 
	Returns: string 
	extract specified substring" {} " 

trim(\[leading|trailing|both\] \[string\] from string)" {bold} " 
	Returns: string 
	trim characters from string" {} " 

upper(text)" {bold} " 
	Returns: text 
	convert text to upper case 

Many additional string functions are available for text, varchar(), and char() types. Some are used internally to implement the SQL92 string functions listed above. 

" {} "PostgreSQL String Functions

char(text)" {bold} " 
	Returns: char 
	convert text to char type 

" {} "char(varchar)" {bold} " 
	Returns: char 
	convert varchar to char type 

" {} "initcap(text)" {bold} " 
	Returns: text 
	first letter of each word to upper case 

" {} "lpad(text,int,text)" {bold} " 
	Returns: text 
	left pad string to specified length 

" {} "ltrim(text,text)" {bold} " 
	Returns: text 
	left trim characters from text 

" {} "textpos(text,text)" {bold} " 
	Returns:text 
	locate specified substring 

" {} "rpad(text,int,text)" {bold} "
	Returns: text
	right pad string to specified length 

" {} "rtrim(text,text)" {bold} " 
	Returns: text 
	right trim characters from text 

" {} "substr(text,int\[,int\])" {bold} " 
	Returns: text 
	extract specified substring 

" {} "text(char)" {bold} " 
	Returns: text 
	convert char to text type 

" {} "text(varchar)" {bold} " 
	Returns: text 
	convert varchar to text type 

" {} "translate(text,from,to)" {bold} " 
	Returns: text 
	convert character in string 

" {} "varchar(char)" {bold} " 
	Returns: varchar 
	convert char to varchar type 

" {} "varchar(text)" {bold} " 
	Returns: varchar 
	convert text to varchar type 

Most functions explicitly defined for text will work for char() and varchar() arguments. 

" {} \
"PostgreSQL functions\n" {link pgfunctions} \
"Next - Date/Time functions" {link datefunc}
@


1.4
log
@Add 0.98.
@
text
@@


1.3
log
@Remove 0.96 for update to 0.98
@
text
@@


1.2
log
@
bring it all into -current again
@
text
@@


1.1
log
@file stringfunc.hlp was initially added on branch REL6_5_PATCHES.
@
text
@d1 102
@


1.1.2.1
log
@Update pgaccess 0.98
@
text
@a0 102
.pgaw:Help.f.t insert end \
"String functions\n\n" {title} \
"SQL92 String Functions" {bold} \
" - SQL92 defines string functions with specific syntax. Some of these are implemented using other Postgres functions. The supported string types for SQL92 are char, varchar, and text. 
" {} "
char_length(string)" {bold} " 
	Returns: int4 
	length of string" {} "

character_length(string)" {bold} " 
	Returns: int4 
	length of string" {} " 

lower(string)" {bold} " 
	Returns: string 
	convert string to lower case" {} " 

octet_length(string)" {bold} " 
	Returns: int4 
	storage length of string" {} " 

position(string in string)" {bold} " 
	Returns: int4 
	location of specified substring" {} " 

substring(string \[from int\] \[for int\])" {bold} " 
	Returns: string 
	extract specified substring" {} " 

trim(\[leading|trailing|both\] \[string\] from string)" {bold} " 
	Returns: string 
	trim characters from string" {} " 

upper(text)" {bold} " 
	Returns: text 
	convert text to upper case 

Many additional string functions are available for text, varchar(), and char() types. Some are used internally to implement the SQL92 string functions listed above. 

" {} "PostgreSQL String Functions

char(text)" {bold} " 
	Returns: char 
	convert text to char type 

" {} "char(varchar)" {bold} " 
	Returns: char 
	convert varchar to char type 

" {} "initcap(text)" {bold} " 
	Returns: text 
	first letter of each word to upper case 

" {} "lpad(text,int,text)" {bold} " 
	Returns: text 
	left pad string to specified length 

" {} "ltrim(text,text)" {bold} " 
	Returns: text 
	left trim characters from text 

" {} "textpos(text,text)" {bold} " 
	Returns:text 
	locate specified substring 

" {} "rpad(text,int,text)" {bold} "
	Returns: text
	right pad string to specified length 

" {} "rtrim(text,text)" {bold} " 
	Returns: text 
	right trim characters from text 

" {} "substr(text,int\[,int\])" {bold} " 
	Returns: text 
	extract specified substring 

" {} "text(char)" {bold} " 
	Returns: text 
	convert char to text type 

" {} "text(varchar)" {bold} " 
	Returns: text 
	convert varchar to text type 

" {} "translate(text,from,to)" {bold} " 
	Returns: text 
	convert character in string 

" {} "varchar(char)" {bold} " 
	Returns: varchar 
	convert char to varchar type 

" {} "varchar(text)" {bold} " 
	Returns: varchar 
	convert text to varchar type 

Most functions explicitly defined for text will work for char() and varchar() arguments. 

" {} \
"PostgreSQL functions\n" {link pgfunctions} \
"Next - Date/Time functions" {link datefunc}
@
