BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
abx
Fluorite | Level 6 abx
Fluorite | Level 6

Hi... 

I would like to know on how to add in this symbol > " into the code below:

 

NAME1=compbl(compress(strip(upcase(NAME)),"ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890`~!@#$%^&*()-_=+\|[]{};:"',.<>?/ ","kis"))

 

Currently, encounter this error code (ERROR 388-185: Expecting an arithmetic operator.) due to the red font item. 

Open to other suggest on how to improve the code. Many thanks. 

1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4
FreelanceReinh
Jade | Level 19

Hi @abx,

 

Just duplicate it: ""

 

abx
Fluorite | Level 6 abx
Fluorite | Level 6
thanks for the tips too. 🙂
Ksharp
Super User
Using collate operator ?
"ABCDEFGHIJ........<>?/" || ' " '
abx
Fluorite | Level 6 abx
Fluorite | Level 6

Thanks for the tips! 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 485 views
  • 1 like
  • 3 in conversation