Explorar o código

Update String.substring documentation

Nickolay Grebenshikov %!s(int64=11) %!d(string=hai) anos
pai
achega
9e88a9c228
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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`.
+		Returns the part of `this` String from `startIndex` to `endIndex` - 1.
 
 		If `startIndex` or `endIndex` are negative, 0 is used instead.