我有一个字符串,
String sample = "He won the International Rating Chess Tournament (IRCT ) which concluded on Dec. 22 at the Blue Sky Hotel , Canada";
我想删除字符')'和','之前留下的空格(如果有的话)。所以最终的输出应该是这样的,
He won the International Rating Chess Tournament (IRCT) which concluded on Dec. 22 at the Blue Sky Hotel, Canada
谁能告诉我该怎么做?