是否有任何函数可以将括号放在字符串的两侧,如下str所示?
str
str = ' ( '.concat(str.concat(' ) '))
ruby string
ruby ×1
string ×1