On 4/10/07, PostgreSQL Admin <[EMAIL PROTECTED]> wrote:
Hi,

I want to replace a title with dashes and also remove punctuation.

e.g,  The blue fox's fur. -> The-blue-fox-fur


Thanks for any input,
J

SELECT translate('The blue fox''s fur.', ' .''', '-')

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to