Simple method to format a string

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Simple method to format a string
Date: 2012-06-20 14:42:18
Message-ID: 4FE1E14A.8060603@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Good morning,

Is there a simply method in psql to format a string?

For example, adding a space to every three consecutive letters:

abcdefgh -> *** *** ***

Thanks a lot!
Emi

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas 2012-06-20 16:30:39 Is there a similarity-function that minds national charsets?
Previous Message Achilleas Mantzios 2012-06-20 05:54:01 Re: Insane behaviour in 8.3.3