String Splice:拼接但用于字符串而不是数组 源码
姓名 String :: Splice-拼接,但用于字符串而不是数组 概要 use String::Splice; say ' Perl 6 is awesome ' . & splice ( 0 , 6 , ' Raku ' ); # Raku is awesome say splice ( ' This is Rakudo ' , * -2 , 2 ); # This is Raku say " Tonight I'm gonna party like it's 1999 " . & splice ( 18 , 5 , ' program ' ) . & splice ( * -4 , 2 , 20 ); # Tonight I'm gonna program like it's 2099 描述 String :: Splice旨在提供一个简单的接口来对字符串进行切片和切块,其方
文件列表
String-Splice-master.zip
(预估有个8文件)
String-Splice-master
.github
workflows
test.yml
645B
t
01-basic.t
2KB
lib
String
Splice.pm6
6KB
META6.json
521B
暂无评论