STRKEEP: Stata module to clean string variables by keeping only whitelisted characters
2016
strkeep cleans a string variable or varlist by keeping only certain characters. In essence, this command is a "whitelist" command, while a function like subinstr() is a "blacklist" command. Instead of finding characters that you want to remove, strkeep finds characters that you want to keep and removes all other characters.
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI