Skip to content

Commit 148e026

Browse files
authored
correct spacing in String.xml (#9993)
1 parent 691a300 commit 148e026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/String.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16015,7 +16015,7 @@ The following example uses the <xref:System.String.Trim?displayProperty=nameWith
1601516015
]]></format>
1601616016
</remarks>
1601716017
<block subset="none" type="usage">
16018-
<para>The .NET Framework 3.5 SP1 and earlier versions maintain an internal list of white-space characters that this method trims. Starting with the .NET Framework 4, the method trims all Unicode white-space characters (that is, characters that produce a <see langword="true" /> return value when they are passed to the <see cref="M:System.Char.IsWhiteSpace(System.Char)" /> method). Because of this change, the <see cref="M:System.String.Trim" /> method in the .NET Framework 3.5 SP1 and earlier versions removes two characters, ZERO WIDTH SPACE (U+200B) and ZERO WIDTH NO-BREAK SPACE (U+FEFF), that the <see cref="M:System.String.Trim" /> method in the .NET Framework 4and later versions does not remove. In addition, the <see cref="M:System.String.Trim" /> method in the .NET Framework 3.5 SP1 and earlier versions does not trim three Unicode white-space characters: MONGOLIAN VOWEL SEPARATOR (U+180E), NARROW NO-BREAK SPACE (U+202F), and MEDIUM MATHEMATICAL SPACE (U+205F).</para>
16018+
<para>The .NET Framework 3.5 SP1 and earlier versions maintain an internal list of white-space characters that this method trims. Starting with the .NET Framework 4, the method trims all Unicode white-space characters (that is, characters that produce a <see langword="true" /> return value when they are passed to the <see cref="M:System.Char.IsWhiteSpace(System.Char)" /> method). Because of this change, the <see cref="M:System.String.Trim" /> method in the .NET Framework 3.5 SP1 and earlier versions removes two characters, ZERO WIDTH SPACE (U+200B) and ZERO WIDTH NO-BREAK SPACE (U+FEFF), that the <see cref="M:System.String.Trim" /> method in the .NET Framework 4 and later versions does not remove. In addition, the <see cref="M:System.String.Trim" /> method in the .NET Framework 3.5 SP1 and earlier versions does not trim three Unicode white-space characters: MONGOLIAN VOWEL SEPARATOR (U+180E), NARROW NO-BREAK SPACE (U+202F), and MEDIUM MATHEMATICAL SPACE (U+205F).</para>
1601916019
</block>
1602016020
<altmember cref="M:System.String.TrimEnd(System.Char[])" />
1602116021
<altmember cref="M:System.String.TrimStart(System.Char[])" />

0 commit comments

Comments
 (0)