1. mono0926

    No comment

    mono0926
Changes in body
Source | HTML | Preview
@@ -78,13 +78,13 @@
無理矢理0詰めするとしたら、こんな感じですかね( ´・‿・`)
```swift
var s = "00" + String(dataElement, radix: 16)
-let chars = s.characters
-let end = chars.endIndex
-let start = s.characters.index(end, offsetBy: -2)
+let range = s.range(of: s)
+let end = s.endIndex
+let start = s.index(end, offsetBy: -2)
s[start..<end]
```
---