-------------------------------------------------------------------------------
help for lookforit                                              manual:  {none}
-------------------------------------------------------------------------------

Search variable names and labels for some string or strings (an enhancement of > lookfor)

lookforit string [string [...]]

Description

lookforit is an enhancement of the base Stata command lookfor. It searches all variable names and variable labels just as lookfor does. Like lookfor lookforit can search for multiple strings but can only do a simple search, i.e. no &'s, |'s, or enclosing strings in quotes. The ways that lookforit differs are as follows:

1) lookforit does a case sensitive search if the user types any upper case characters, otherwise, it performs a case insensitive search

. lookforit female

finds "Female", "FEMALE", "feMale", or even "FemalePatient"

. lookforit Female

only finds "Female"

2) lookforit lists variables alphabetically

3) The variable names are clickable links to the data editor that opens Stata's data editor to that variable column.

Examples

. lookforit job

. lookforit employment Salary

. lookforit inc

Author

Dan Blanchette The Carolina Population Center University of North Carolina - Chapel Hill, USA dan_blanchette@unc.edu

Also see

Online: help for lookfor, ds