Advertisement

01.18.2008 at 07:44AM PST, ID: 23093657
[x]
Attachment Details

SAS - Is there a function to pull numbers out of a string?

Asked by c9k9h in SAS

Tags: sas, string, number, function

For example, the VAL function in MSAccess will do that:
Returns the numbers contained in a string as a numeric value of appropriate type.
Syntax:    Val(string)
The required string argument is any valid string expression.
The following returns the value 1615198:
Val("    1615 198th Street N.E.")

Is there a similar function in SAS that can do this?

Thanks!
Start Free Trial
[+][-]01.18.2008 at 08:00AM PST, ID: 20691314

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SAS
Tags: sas, string, number, function
Sign Up Now!
Solution Provided By: bradanelson
Participating Experts: 1
Solution Grade: A
 
 
[+][-]01.18.2008 at 08:01AM PST, ID: 20691335

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:06AM PST, ID: 20691379

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:08AM PST, ID: 20691402

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:14AM PST, ID: 20691484

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:17AM PST, ID: 20691505

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:20AM PST, ID: 20691538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:21AM PST, ID: 20691553

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:38AM PST, ID: 20691708

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:43AM PST, ID: 20691756

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.18.2008 at 08:50AM PST, ID: 20691841

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628