Date: Fri, 10 Feb 2006 08:13:49 -0500
Reply-To: Hadassa Brunschwig <dassybr@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Hadassa Brunschwig <dassybr@HOTMAIL.COM>
Subject: Numeric macro variable
Hello fellow users!
I am writing a macro to which I submit a string of numbers, e.g.:
(1,145,64,29)
For other purposes, using proc sql within the macro, I read this string
into another macro variable in order to obtain the following:
1:145:64:29
I know that both of the variables have character type. I would like,
however to count the numbers in the string, in this case 4.
Any comments on how to do that?
Thanks a lot.
Hadassa
|