Code:
replace FL2A_w2 = subinstr(FL2A_w2, " ", "", .)
Code:
foreach var of varlist _all { replace `var' = subinstr(`var', " ", "", .) }
Any ideas on the best way to handle this? Thank you much!
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
replace FL2A_w2 = subinstr(FL2A_w2, " ", "", .)
foreach var of varlist _all { replace `var' = subinstr(`var', " ", "", .) }
0 Response to Looping over all string variables in dataset
Post a Comment