Skip to content
On this page

String 字符串


可以通过下标索引获取字符串的某一位字符

Copy code
        
      

分片操作

string[left:right:step]

step表示每次间隔多少个元素

Copy code
        
      

字符串拼接

Copy code