LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 10 Sep 2009 07:55:47 -0700
Reply-To:     inason <iharun17@GOOGLEMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         inason <iharun17@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: Number of Numbers
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

On Sep 10, 1:22 pm, misschupito <cristinap...@gmail.com> wrote: > Hi! i need help... is there a function that would let me Know the > number of numbers in a string? > > Thanks

Not sure if tehre is an easier way but this would work

data test; char='abdj 34 fffk 45fg'; num_of_digits=length(compress (char,'0''1''2''3''4''5''6''7''8''9','k'); run;


Back to: Top of message | Previous page | Main SAS-L page