Explorar o código

Merge pull request #3351 from ngrebenshikov/development

Update String.substring documentation
Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
51bec08d37
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 but not including `endIndex`.
 
 		If `startIndex` or `endIndex` are negative, 0 is used instead.