 
 	 - returns: 截取的string
 	 */
-	subscript(r: Range<Int>) -> String {
+	public subscript(r: Range<Int>) -> String {
 		get {
 			let startIndex = self.startIndex.advancedBy(r.startIndex)
 			let endIndex = self.startIndex.advancedBy(r.endIndex)

		return Array<Range<Index>>()
	}
}


	 - returns: 范围的数组
	 */
	public func rangesOfString(string: String) -> Array<Range<Index>> {
		var array = Array<Range<Index>>()
		let range = self.rangeOfString(string)
		if range != nil {
