Przeglądaj źródła

Chanage '-1' to 'not including'

Nickolay Grebenshikov 11 lat temu
rodzic
commit
2c4888195a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      std/String.hx

+ 1 - 1
std/String.hx

@@ -141,7 +141,7 @@ extern class String {
 	function substr( pos : Int, ?len : Int ) : String;
 
 	/**
-		Returns the part of `this` String from `startIndex` to `endIndex` - 1.
+		Returns the part of `this` String from `startIndex` to but not including `endIndex`.
 
 		If `startIndex` or `endIndex` are negative, 0 is used instead.