Simple method to format a string - Mailing list pgsql-sql

From Emi Lu
Subject Simple method to format a string
Date
Msg-id 4FE1E14A.8060603@encs.concordia.ca
Whole thread Raw
Responses Re: Simple method to format a string
List 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



pgsql-sql by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: Insane behaviour in 8.3.3
Next
From: Andreas
Date:
Subject: Is there a similarity-function that minds national charsets?