         return String(characters.suffix(1))
     }
     
-    public var lenght: Int
+    public var length: Int
     {
         return characters.count
     }

    {
        if let regex = TPFoundation.regex(pattern, ignoreCase: ignoreCase)
        {
            let range = NSMakeRange(0, lenght)
            return regex.stringByReplacingMatches(in: self, options: [.anchored], range: range, withTemplate: replacementString)
        }
        

    
    public func count() -> Int
    {
        return length
    }
    
    public subscript (i:Int) -> Character
