Convert string to "proper" case Uppercase string Locale-aware "titlecase" string Pluralize string Reversed string Substitution of characters for pattern found in string Substitution of characters for word found
If force is specified, Stata issues a warning message before appending the data. If the using dataset contains the string variable, the combined dataset will have numeric missing values for the appended data on this variable; the contents of the string variable in the using dataset are ignored....
clear * Rename variables rename v1 _id rename v2 x`i' * Check if x`i' is a string variable and convert it to numeric capture confirm variable x`i' is string if _rc == 0 { destring x`i', replace } * Replace
ustrupper()Convert Unicode string to uppercase, lowercase, or titlecase subinstr()Substitute text usubinstr()Replace Unicode substring sublowertriangle()Return a matrix with zeros above a diagonal _substr()Substitute into string _usubstr()Substitute into Unicode string ...
For instance, you attempted to subtract a string from a number or you attempted to take the substring of a number. 110. already defined A variable or a value label has already been defined, and you attempted to redefine it. This occurs most often with generate. If you really intend to ...