using string functions on plpgsql - Mailing list pgsql-sql

From Marcelo Edgardo Paniagua Lizarraga
Subject using string functions on plpgsql
Date
Msg-id 2ba670e30804161450q68312d25l3e36a98034badbe9@mail.gmail.com
Whole thread Raw
Responses Re: using string functions on plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: using string functions on plpgsql  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-sql
I'm starting to create my firsts plpgsql functions, and I was
wondering how to use the string function 'length' in the code of the
fuction. I have tried so far and I get an error. I'm trying this:

declare   i integer;
begin...
  i =  length(texto)

...

where texto is a varchar(200) I pass as a parameter to the function calling.

Any help will help.

Thanks!!!


pgsql-sql by date:

Previous
From: "Mina R Waheeb"
Date:
Subject: SQL/XML Multi table join question
Next
From: Tom Lane
Date:
Subject: Re: using string functions on plpgsql