String#tr

来源:互联网 发布:c语言资源锁实现方式 编辑:程序博客网 时间:2024/06/05 08:59
require "PP"
PP::pp "abcdefghijklmnop".tr('a', 'A') #"Abcdefghijklmnop"
 
原创粉丝点击