             withCString { (bytes) in
                 let bytes = UnsafeMutablePointer<Int8>(bytes)
                 bytes[index] = 0
-                out = String.fromCString( bytes )!
+                out = String(cString: bytes )!
             }
             return out
         }

            return Int8(utf8.first!)
        }

        var stringByRemovingPercentEncoding: String? {
            var arr = [Int8]( count: 100000, repeatedValue: 0 )
            var out = UnsafeMutablePointer<Int8>( arr )

            withCString { (bytes) in

        func substringFromIndex( index: Int ) -> String {
            var out = self
            withCString { (bytes) in
                out = String(cString: bytes+index )!
            }
            return out
        }
