Hi:
What code have you tried? Is there ONLY 1 dash or hyphen in the character string. Is the length of the variable big enough to add 2 characters to the value? Here's one possibility but it will only work if there is exactly 1 dash in the value:
Cynthia
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!