SyntaxFix
Write A Post
Hire A Developer
Questions
Pass the string and replace space with line break, it gives you desired result.
select replace('shailendra kumar',' ',chr(10)) from dual;