What expression do I need to replace the second parameter in a string:

string(blah1,blah2,blah3)

to

string(blah1,"blah2",blah3)

basically it has to replace the text after the first comma but before the second comma but also it could be string(blah1,blah2) to not necessarily the second comma.