       tokenRanges: &tokenRanges_
     )
     tokenRanges = tokenRanges_!._toRangeArray()
-    return result._toStringArray()
+    return (result as String[])!
   }
 
   // - (NSComparisonResult)localizedCaseInsensitiveCompare:(NSString *)aString

    result.addObject(f(s))
  }
  return result
}

func _toNSArray(a: String[]) -> NSArray {
  return _toNSArray(a){ $0 as NSString }
}

func _countFormatSpecifiers(a: String) -> Int {

  /// \brief Returns an array of strings made by separately appending
  /// to the receiver each string in in a given array.
  func stringsByAppendingPaths(paths: String[]) -> String[] {
    return (_ns.stringsByAppendingPaths(paths) as String[])!
  }

  // - (NSString *)substringFromIndex:(NSUInteger)anIndex
