Command Reference : Programming Language Reference
  
 
@makevalidname
Syntax: @makevalidname(str)
Argument: string, str
Return: string, name
Returns a string containing an uppercased valid EViews name based on str.
If str is a valid name, then the original string str is returned.
If str exceeds the maximum length, the resulting string will be truncated.
If str is not a valid name, invalid characters will be replaced in the new string with “_” prior to the return.
Examples
@makevalidname("re!sult%")
returns the string “RE_SULT_”.
@makevalidname("evname01")
returns the string “EVNAME01”.
Cross-references
See also @isvalidname and @getnextname.