let startIndex = md5_32.index(md5_32.startIndex, offsetBy: 8)
let endIndex = md5_32.index(md5_32.endIndex, offsetBy: -8)
let md5_16 = md5_32[startIndex..<endIndex]
let startIndex = md5_32.index(md5_32.startIndex, offsetBy: 8)
let endIndex = md5_32.index(md5_32.endIndex, offsetBy: -8)
let md5_16 = md5_32[startIndex..<endIndex]
本文标题:swift 字符串截取
本文链接:https://www.haomeiwen.com/subject/dhpjwdtx.html
网友评论