Browse Source

Merge pull request #3351 from ngrebenshikov/development

Update String.substring documentation
Simon Krajewski 11 năm trước cách đây
mục cha
commit
51bec08d37
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.