Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有一个字符串 ="Hello, my friend!,,,,"并且我想从右边删除所有逗号
"Hello, my friend!,,,,"
所以结果将是"Hello, my friend!"
"Hello, my friend!"
怎么做?
replace('Hello, my friend!,,,,',',+$','')