You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/String.xml
+2-2
Original file line number
Diff line number
Diff line change
@@ -11592,7 +11592,7 @@ The following example demonstrates the <xref:System.String.PadRight%2A> method.
11592
11592
<format type="text/markdown"><![CDATA[
11593
11593
11594
11594
## Remarks
11595
-
In the .NET Framework, strings are zero-based. The value of the `startIndex` parameter can range from zero to one less than the length of the string instance.
11595
+
In the .NET Framework, strings are zero-based. The value of the `startIndex` parameter can range from zero to the length of the string instance.
11596
11596
11597
11597
> [!NOTE]
11598
11598
> This method does not modify the value of the current instance. Instead, it returns a new string in which all characters from position `startIndex` to the end of the original string have been removed.
@@ -11612,7 +11612,7 @@ The following example demonstrates the <xref:System.String.Remove%2A> method. Th
11612
11612
11613
11613
-or-
11614
11614
11615
-
<paramref name="startIndex" /> specifies a position that is not within this string.</exception>
11615
+
<paramref name="startIndex" /> is greater than the length of this instance.</exception>
0 commit comments