Bläddra i källkod

Merge pull request #3351 from ngrebenshikov/development

Update String.substring documentation
Simon Krajewski 11 år sedan
förälder
incheckning
51bec08d37
1 ändrade filer med 1 tillägg och 1 borttagningar
  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.