scan input string line, replace sto parameters with calculated results.

def scanStoVars(self, strline):
        """ scan input string line, replace sto parameters with calculated results.
        """
        for wd in strline.split():
            if wd in self.stodict:
                strline = strline.replace(wd, str(self.stodict[wd]))
        return strline