Why so complicated? A var is just a 64-bit value. What's in these 64 bits, whether ints or strings, is up to you.

int tmf(var Parameter1) {
string MyString = (string)&Parameter1;
...
}

string String1 = "Zorro";
enterLong(tmf,*((var*)String1));