Link to home
Create AccountLog in
Avatar of morinia
moriniaFlag for United States of America

asked on

Extracting all data before '@' in a string

Experts,

I have a string of data which has a variable length of characters before the "@".  Can someone tell me the syntax to extract all of the characters before the "@" in SAS.

I can use either a PROC Sql (Preferred) or Data Step.
ASKER CERTIFIED SOLUTION
Avatar of ralmada
ralmada
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer