我有一长串。
string s1 = "'99024','99050','99070','99143','99173','99191','99201','99202','99203','99204','99211','99212','99213','99214','99215','99217','99218','99219','99221','99222','99231','99232','99238','99239','99356','99357','99371','99374','99381','99382','99383','99384','99385','99386','99391','99392'";
我想
string s2 =
"'99024',
'99050',
'99070',
'99143',
'99173',
'99191',
'99201',
'99202',....";
换句话说。也许它喜欢:
string s2 = "'99024',"+'\n'+"'99050',"+'\n'+"'99070',"+'\n'+"'99143',"+'\n'+.....;
我需要一个简洁的代码。也许是 LINQ。谢谢。