|
One way to get this done is using PRXMATCH function.
Data want;
input value $;
if prxmatch("/[a-zA-Z]/",value)=0; /* Searches for a pattern match and
returns the position at which the pattern is found */
cards;
1023442
92z89
abcd
5231295
09CX42
98722
;
AkshayA!
On Mon, Jan 26, 2009 at 2:27 PM, J M <jasonm@ucla.edu> wrote:
> How can delete observations containing characters (eg 92z89 or abcd)?
> I just want to keep observations with numeric values.
> Thanks.
>
|