Desktop productivity for business analysts and programmers

Data Format!

Not applicable
Posts: 0

Data Format!

I have a column with incoming url link. How can I get the domain name from the url using SAS

The data in the column looks like

If I just need "" in the column how could i use SAS to do it.

Thanks for your help!
Super Contributor
Super Contributor
Posts: 3,176

Re: Data Format!

Posted in reply to deleted_user
Use the SCAN function in a DATA step to pick-off the third parsed sub-field, while having the "/" listed as the delimiter.

Scott Barry
SBBWorks, Inc.

SCAN Function
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation