Removing characters from string vars

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing characters from string vars

Jason Burke
I am seeking a method to remove tab characters char(9) within a string variable.

Cheers,


Jason

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

Re: Removing characters from string vars

Peck, Jon
compute notabs = replace(strwtabs, string(09, ib1),' ').

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Jason Burke
Sent: Saturday, September 27, 2008 5:38 PM
To: [hidden email]
Subject: [SPSSX-L] Removing characters from string vars

I am seeking a method to remove tab characters char(9) within a string variable.

Cheers,


Jason

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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