Again, its another issue.

select 'Atext-Btext-Ctext-Dtext' from dual;

Expected Output:
ABCD.

select 'Atext' from dual;

Expected Output:
A

select 'Atext-Btext' from dual;

Expected Output:
AB


Want to extract first character after hypen(-)
I want to achieve this result from Oracle 10g SQL . Please suggest a quick
option.

Thanks
`G

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
To unsubscribe from this group, send email to
oracle-plsql-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to