23 February 2021 [Tuesday]
Facebook: / econometricsmelody
In this video, we will learn about different types of string functions.
** The list of the functions discussed in the video are as given below:
char(n); string(n); string(n,s); real(s);
ltrim(s); rtrim(s); itrim(s); trim(s);
length(s); reverse(s); upper(s); lower(s); proper(s);
word(s,n); wordcount(s); abbrev(n,s);
soundex(s); soundex_nara(s);
indexnot(s1,s2); plural(n,s);
strtoname(s); strtoname(s,p); strmatch(s1,s2);
strpos(s1,s2); substr(s,n1,n2);
subinstr(s1,s2,s3,n)
subinword(s1,s2,s3,n)
We can use the combination of these functions, in a single command, in order to address our needs while cleansing data involving string variables.
We hope that you will find this useful.
Many Thanks
Econometrics Melody
Негізгі бет string functions || STATA || Data Management || Econometrics Melody || U/Graduate || Mphil /Phd
Пікірлер: 4