Browse Source

no special method.

Nicolas Cannasse 20 years ago
parent
commit
ed93ec1711
1 changed files with 1 additions and 3 deletions
  1. 1 3
      std/String.hx

+ 1 - 3
std/String.hx

@@ -13,8 +13,6 @@ extern class String {
 	function indexOf( value : String, startIndex : Int ) : Int;
 	function indexOf( value : String, startIndex : Int ) : Int;
 	function lastIndexOf( value : String, startIndex : Int ) : Int;
 	function lastIndexOf( value : String, startIndex : Int ) : Int;
 	function split( delimiter : String ) : Array<String>;
 	function split( delimiter : String ) : Array<String>;
-
-	/* added */
-	function sub( pos : Int, len : Int ) : String;
+	function substr( pos : Int, len : Int ) : String;
 
 
 }
 }