Hi, The code works and does exactly what I need. However, I just realized, that if there is a comma in the provider name, a dot, or brackets, then it doesn't. 😞 Some of the examples, on which the code didn't work: data have2; Prov_Info ="ProviderName: Shapa Inc.; IDN: 2345678901; IsGroup: No;, ProviderName: Smith, John; IDN: 3456789012; IsGroup: No;, ProviderName: IDN: 3456789012; IsGroup: Yes;, ProviderName: Pharmacy TX-115; IDN: 1234567890 IsGroup: Yes;, "; ProviderName: Star Med EMS (Medicare); IDN: 1234567890 IsGroup: Yes;, "; ProviderName: CVS Pharmacy 50; IDN: 1234567890 IsGroup: Yes;, "; ProviderName: CASE MANAGEMENT & IDN: 1234567890 IsGroup: Yes;, "; run; Please let me know if there is a solution to account for those special characters in the provider name? Thank you!
... View more