Date: Mon, 5 Jul 2010 11:51:18 -0400
Reply-To: Art@DrKendall.org
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject: Re: Syntax to crop variable labels
In-Reply-To: <302C53D4496C4C20ABA26772692C06BC@yourg2asvv4l2m>
Content-type: text/html; charset=ISO-8859-1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
copy the syntax below into a syntax window. See if this is what you
need. Then try replacing the piece of text in the syntax window
between "begin data" and "end data" with the text from the other
source.<br>
copy the resulting print info into a new syntax window.<br>
<br>
<tt>data list fixed /item (1x,f3) itemlabel(1x, a70).<br>
begin data <br>
(614)My assignments don't require using technology<br>
(615)School filters or firewalls block websites I need to use<br>
(616)Software is not good enough<br>
(617)Teachers don't know how to use the technology<br>
(618)Teachers limit our technology use<br>
(619)There are rules against using technology at my school<br>
(620)My school has different computers or software than I am used
to<br>
end data.<br>
print /' ' item '"' itemlabel '"/'.<br>
execute.<br>
</tt><br>
Art Kendall<br>
Social Research Consultants<br>
<br>
On 7/5/2010 11:29 AM, John F Hall wrote:
<blockquote
cite="mid:302C53D4496C4C20ABA26772692C06BC@yourg2asvv4l2m"
type="cite">
<div class="moz-text-html" lang="x-western">
<style></style>
<div><font size="2" face="Arial">I am working on a file
constructed by someone else. There are hundreds of variable
labels of the following type. Rather than going through and
deleting the brackets and their contents manually, is there
any syntax to do it for me? Otherwise I'll be at it all
night.</font></div>
<div> </div>
<div><font size="2" face="Arial">TIA</font></div>
<div> </div>
<div><font size="2" face="Arial">John Hall</font></div>
<div> </div>
<div><font size="2" color="#800000" face="Arial">(614)My
assignments don't require using technology<br>
(615)School filters or firewalls block websites I need to
use<br>
(616)Software is not good enough<br>
(617)Teachers don't know how to use the technology<br>
(618)Teachers limit our technology use<br>
(619)There are rules against using technology at my school<br>
(620)My school has different computers or software than I am
used to</font></div>
</div>
</blockquote>
</body>
</html>
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
|