To get Length of each word in a String.
546215Nov 15 2006 — edited Nov 16 2006Hi,
I wanted to know, how to calculate the length of each word in a string.Suppose for example if the input is like this:
i/p:'Tech on the Net'
o/p:4 2 3 3
ie Tech-4 on-2 the-3 Net-3
another Ex:i am a good boy
o/p:1 2 1 4 3
Kindly let me know any PL/SQL function or SQL query which would help to achieve this.
Thanks&Regards
Zaheer