Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xml/System/String.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14072,7 +14072,7 @@ White-space characters are defined by the Unicode standard. The `Trim` method re

## Examples

The following example uses the <xref:System.String.Trim()?displayProperty=nameWithType> method to remove any extra white space from strings entered by the user before concatenating them.
The following example uses the <xref:System.String.Trim?displayProperty=nameWithType> method to remove any extra white space from strings entered by the user before concatenating them.

[!code-cpp[System.String.Trim#2](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.String.Trim/cpp/trim2.cpp#2)]
[!code-csharp[System.String.Trim#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.String.Trim/cs/Trim2.cs#2)]
Expand Down