我正在寻找一种方法,在分组的同时将行连接成逗号分隔的字符串。
例如:
非常感谢。
Name Place
Steve Jones New York
Steve Jones Washington
Albert Smith Miami
Albert Smith Denver
to ...
Steve Jones New York, Washington
Albert Smith Miami, Denver
非常感谢。