View previous topic :: View next topic
|
Author |
Message |
COBOLSteve
New User
Joined: 13 Aug 2008 Posts: 2 Location: New Jersey
|
|
|
|
If I wanted to find all instances of the characters 'xxx' in columns 1 -6 I'd use: FIND 'XXX' ALL 1 6. No problem. Now, what if I wanted to find all non 'xxx' characters in columns 1 - 6? Does anyone know how to do that? Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
X 'XXX' 1 6 ALL |
|
Back to top |
|
|
COBOLSteve
New User
Joined: 13 Aug 2008 Posts: 2 Location: New Jersey
|
|
|
|
Bingo! That's just what the doctor ordered. Thanks a ton! |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Also handy is the FLIP command.
X ALL hide all lines
F 'XXX' 1 6 ALL show target lines only
FLIP show non-matched lines only |
|
Back to top |
|
|
|