我只是想知道是否有什么方法可以从另一个字符串中删除字符串?如下所示:
class String def remove(s) self[s.length, self.length - s.length] end end
https://stackoverflow.com/questions/5367164
相似问题