Command Reference : Programming Language Reference
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 is not valid, invalid characters will be replaced in the new string with “_” prior to the return (i.e. the string “re!sult%” will return “RE_SULT_”).
See also @isvalidname and @getnextname.