you must do it like this: s = s.replace(...); also instead of "Success Rate" use "Success Rate " because there is also a space character after...
Separate names with a comma.