Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to concatenate using value labels?

296 views
Skip to first unread message

Minglu

unread,
Oct 3, 2011, 5:47:12 AM10/3/11
to
Hi, Everyone,

Is there a way that you can create a new variable by concatenating two
variables' value labels?

Thanks.

Bruce Weaver

unread,
Oct 3, 2011, 8:45:26 AM10/3/11
to
Yes. Look up the following:

STRING -- command to create the new string variable
VALUELABEL - function that extracts the value label
CONCAT - function that concatenates two or more strings

--
Bruce Weaver
bwe...@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/Home
"When all else fails, RTFM."
0 new messages