Wednesday, March 08, 2006

st: string function

I have a large file with patient's labs. The lab variable contains the lab result (a number) with the units (for example mg/dl) included. There are many variations to the way the units are reported: they may be capitalized or in parentheses or the units themselves may contain numbers.

I would like to create a variable that includes only the lab result. And if possible a separate variable with the units.

Thanks, Andy

__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around * * For searches and help try: * * *


Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?