Sfoglia il codice sorgente

Update String.substring documentation

Nickolay Grebenshikov 11 anni fa
parent
commit
9e88a9c228
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.