I know in C# you can call a function from a string by doing so
Type thisType = this.GetType(); MethodInfo theMethod = thisType.GetMethod(TheCommandString); th