I need to find the numeric field which contains blank in
between..Ex:123 456...there is blank in between the 123
456..I need to know if there is any SAS function to find a
field..


Please suggest...

Answer Posted / mahesh babu

data test;
a="123 456";
b=anyspace(a);
run;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

593


Explain proc sort?

658


What are types of transport files?

6819


What is your favorite all time computer book? Why?

2044


Differentiate between proc means and proc summary.

595






Give e an example of..

1834


What are all the problems you faced while validating tables and reports?

2996


I need level 2 to 5 sas using companies in india

1920


what are some differences between proc summary and proc means? : Sas programming

501


What is the role of sas grid administrator? : sas-grid-administration

820


how does sas handle missing values in functions? : Sas programming

593


What is a method to debug and test your SAS program?

706


How to limit decimal places for variable using proc means?

584


What is program data vector (pdv)?

627


Give an example where SAS fails to convert character value to numeric value automatically?

600