myString = ' The dog is out side the house . ';
Is there a function that will keep one space between each word so the final result would be:
'The dog is outside the house.'
Code: Select all
Replace(variable, ' ', ' ')
If you think you might have more than two together, you could use regexp_replace.
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: https://oracle-base.com
My blog: https://oracle-base.com/blog
Who is online
Users browsing this forum: No registered users and 2 guests