Skip to content

Commit ab4ed35

Browse files
authored
correct trimmmed to trimmed (#7932)
1 parent 0cc67fe commit ab4ed35

File tree

1 file changed

+2
-2
lines changed
  • snippets/csharp/System/String/Trim

1 file changed

+2
-2
lines changed

snippets/csharp/System/String/Trim/Trim1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ public static void Main()
88
char[] charsToTrim = { '*', ' ', '\''};
99
string banner = "*** Much Ado About Nothing ***";
1010
string result = banner.Trim(charsToTrim);
11-
Console.WriteLine("Trimmmed\n {0}\nto\n '{1}'", banner, result);
11+
Console.WriteLine("Trimmed\n {0}\nto\n '{1}'", banner, result);
1212

1313
// The example displays the following output:
14-
// Trimmmed
14+
// Trimmed
1515
// *** Much Ado About Nothing ***
1616
// to
1717
// 'Much Ado About Nothing'

0 commit comments

Comments
 (0)