Working With String Variables in Stata
10K views
Aug 5, 2023
In this video, we discuss how to extract specific text from a string variable using substr and the word function. Further, how to count the number of characters in the string variable or count the number of words in the string variables. How to remove white spaces from the string variable or convert the case to text to upper, lower, or proper case. Check the position of specific characters in the text, or split a string variable into multiple variables. Website: thedatahall.com As an Amazon Associate, I earn from qualifying purchases.