MCom.getStringVar
From WoWWiki
This article is a part of the documentation of the MCom function library
--[[
getStringVar ( string value )
Accepts a variable as a string, and returns the value.
However this can parse complex variable names that contain .
such as "Something.Variable"
It does not handle "Something['Variable']".. Just use the .
format instead. This also works for number indexes.
Args:
varString - the variable to get, encapsulated in a string, ex:
"Something.Variable.Monkey.Hippo"
Returns:
the contents of the variable in the passed string
]]--
