Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72797

How to substring medical record data

$
0
0
I have data from medical records, where a variable (reason for consult) is text (stored as strL). In about 80% of the responses, the entry starts with the following text:
*************** [last name], [first name] [middle name] [phone] [other type of non-relevant information] ***************** [text with reason for consult]

How can I keep only the [text with reason for consult] and not the identifiable information between the *** ***?

Thank you!
Anita

Viewing all articles
Browse latest Browse all 72797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>