atgrovecity
Programmer
Hello,
I need the code to extract the first word in a string. For some records, the the generic drug name name will only have one word, sometimes more than one word. In both scenarios I need to the code to extract the first word.
Example:
OLANZAPINE
OLANZAPINE PAMOATE
The output of both records should be just OLANZAPINE
Thanks.
Joe
I need the code to extract the first word in a string. For some records, the the generic drug name name will only have one word, sometimes more than one word. In both scenarios I need to the code to extract the first word.
Example:
OLANZAPINE
OLANZAPINE PAMOATE
The output of both records should be just OLANZAPINE
Thanks.
Joe