Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group