Name

mk_varname — Convert a string to a variable name

Synopsis

mk_varname str

Description

Converts a string to a form suitable for use as a variable name. All letters are uppercased, and all non-letter, non-number characters are converted to _. Sets result to the result.