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 in string Extract substring Length of string Position of first character in string in list...
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 ...
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
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 ...