Need help with functions that gets a string

what script should i use?
For example,

fast1 = function (–STRING–){
_root.–STRING–.gotoAndStop(_root.“STRING”._currentframe+3);
}

fast1(“dogworld”);

is my question clear?:stuck_out_tongue: