BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gstullo
Obsidian | Level 7

Strange but all of a sudden when I try to replace "/" with "\" the forward slash is just deleted but not replaced.  Any thoughts?

Example:

'H:/Documents/Data Management/TEST/163_ExportAll.d01'

'H:DocumentsData ManagementTEST163_ExportAll.d01'

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

You may have the "Regular expression search" checked. Uncheck it and retry.

View solution in original post

6 REPLIES 6
Patrick
Opal | Level 21

Can you please provide the SAS code which does this?

gstullo
Obsidian | Level 7

Its not even code.  This is a simple use of the Replace tool. 

Patrick
Opal | Level 21

Which "Replace Tool"? What client and which version on which OS are you using?

gstullo
Obsidian | Level 7

SAS 9.3 on WinX67_7Pro

The replace option is found under Edit-->Replace (Ctrl+H)

ballardw
Super User

You may have the "Regular expression search" checked. Uncheck it and retry.

gstullo
Obsidian | Level 7

That was it!  Thanks a lot.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 6 replies
  • 1427 views
  • 1 like
  • 3 in conversation