Преглед изворни кода

Merge pull request #3351 from ngrebenshikov/development

Update String.substring documentation
Simon Krajewski пре 11 година
родитељ
комит
51bec08d37
1 измењених фајлова са 1 додато и 1 уклоњено
  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.