Hello Anthony BRESSY.
If all the terms of the variable does begin with the letters, here's the solution:
COMPUTE ToFilter = (StringVar > 'A').
EXE.
FILTER BY ToFilter.
EXE.
PS. Beware of the SELECT statement. This removes the records are not selected.
Thank you and goodbye.
Ekoué KOUEVIDJIN
Ingénieur Statisticien
Technicien Supérieur en Electronique
----- Message d'origine ----
De : Anthony Bressy <
[hidden email]>
À :
[hidden email]
Envoyé le : Mercredi, 28 Novembre 2007, 7h42mn 38s
Objet : FILTER ON A STRING VARIABLE
Hi everyone,
I would like to do a filter on a string variable .
I would like to select only the cases which contain a comment with a
syntax.
I have try to make a SELECT IF (StringVar ne "") but the filter don't
run.
Can you help me ?
Thanks
Anthony
====================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
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
====================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