📄 程嶏清单8-9.txt
字号:
$_ = "how are you";
$count = tr /ho/oh/; # $_现在成为 "ohw are yhu",$count为3
print " The string now is : $_,the character number of replace is :$count\n ";
tr /abcde/ABCDE/; # $_现在成为 "ohw ARE yhu"
print " The string now is : $_,the character number of replace is :$count\n ";
tr /a-z/A-Z/; # $_现在成为 "OHW ARE YHU"
print " The string now is : $_,the character number of replace is :$count\n ";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -