From 317fa2f5810b15ef14282853bd6c5a5bc673374f Mon Sep 17 00:00:00 2001 From: Radek Zikmund <32671551+rzikm@users.noreply.github.com> Date: Thu, 15 May 2025 18:07:03 +0200 Subject: [PATCH] Update String.Remove(int) documentation. (#11305) Closes https://github.com/dotnet/dotnet-api-docs/issues/11301. --- xml/System/String.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System/String.xml b/xml/System/String.xml index b90b4d54a0f..ad6a4863902 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -11592,7 +11592,7 @@ The following example demonstrates the method. [!NOTE] > 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 method. Th -or- - specifies a position that is not within this string. + is greater than the length of this instance.