In javascript, I have a string like substringof('para1',para2) and substringof('para3',para4) and xxx and xxx or other strings and I want to convert it to contains(para2,'para1') and contains(para4,'para3')
so, what I need to do is to swap the 2 parameters inside substringof and then replace the substringof with contains
thanks