Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function to parse out lines in a memo field

Status
Not open for further replies.

dkwong

MIS
Dec 27, 2001
76
CA
Does anybody know if there is a function in Oracle equivalent that can parse out lines in a memo field? I want to take in a field that contains multiple lines separated by line breaks and return a specific line or return the number of lines in the field. What's the best way to do this?

i.e.
MLINE(<memo field>, <nth line>)
MEMLINES(<memo field>)
 
I don't think there's one. However, it shouldn't be too hard to write a couple of functions to do what you're after.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top