     }
 
     func strippedLength() -> Int {
+#if swift(>=3.2)
+        return stripped().count
+#else
         return stripped().characters.count
+#endif
     }
 }
 


private extension String {
    func stripped() -> String {
        return strippingRegex.stringByReplacingMatches(
            in: self,
            options: [],
            range: NSRange(location: 0, length: characters.count),
            withTemplate: "$1"
        )
    }


private extension String {
    func withPadding(count: Int) -> String {
#if swift(>=3.2)
        let length = self.count
#else
        let length = self.characters.count
#endif
        if length < count {
            return self +
                repeatElement(" ", count: count - length).joined()
